最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

nuxt.js - Using both FB Pixel and GTM - Stack Overflow

programmeradmin2浏览0评论

Probably a simple question but, I want to use both GTM and FB Pixel.

The code below:

const { proxy } = useScriptMetaPixel({
  id: 'YOUR_ID'
})

  const { proxy } = useScriptGoogleTagManager({
    id: 'YOUR_ID'
  })

The issue I see is that both use PROXY from the deconstructor.

What would be the best practice to use both? I dont want to use the global option, as some pages should not use GTM and -or FB Pixel.

发布评论

评论列表(0)

  1. 暂无评论