tanukijs / meta-pixel

🤖 Inject meta pixel in your JavaScript applications.
15 stars 5 forks source link

only add one ID for pixel, but there are 2 ID in page <head> #11

Closed withgogo closed 2 months ago

withgogo commented 2 months ago

I only setup one id in nuxt.config.ts.

        public: {
            metapixel: {
                default: { id: '863756325009533' },
            }
        },
    },

However, it comes 2 IDs. Don't know why? Is it possible because of other link or component?

image
tanukijs commented 2 months ago

Hello 👋

  1. Is this a pixel you have configured at least one time or is it 100% an unknown pixel id ?
  2. Does the pixel 12532... appear somewhere in your code ? or dependencies ? (Do a global search accross your project)
  3. Try cleaning your nuxt install, restart the server etc

Actually the only thing i can say is that there is no hardcoded pixel in meta-pixel, so it can't add a pixel by himself.

withgogo commented 2 months ago

finally, we found that the ads supplier added it through GTM tag... Thanks, sorry for the wrong issue.