quando1910 / nuxt3-meta-pixel

An solution for injecting Facebook pixel code in Nuxt 3
20 stars 4 forks source link

Duplicate Pixel ID #1

Open fabiovaz opened 1 year ago

fabiovaz commented 1 year ago

At console I got the message: fbevents.js:24 [Meta Pixel] - Duplicate Pixel ID: {PIXEL_ID}

Another suggests is disable de message in development to put debug true.

quando1910 commented 1 year ago

could you please try latest version 1.0.9 ?

fabiovaz commented 1 year ago

could you please try latest version 1.0.9 ?

still getting warning image

patriciorivera commented 10 months ago

The same thing happens to me, even with version 1.0.9

GalBrigitta commented 9 months ago

Did someone resolved this? Having the same issue

ivanramosnet commented 7 months ago

This error generally means fbq('init', ) is getting called more than once with the same pixel id. (Source https://stackoverflow.com/a/36316529)

Maybe you are calling the command nuxtApp.$fb.enable() in order to start the pixel and track in a page that if it is revisited it enable the module again and you see this warning in console.

If you use app.vue you can enable this module there you will not see this console message due to the module will be initialized only once time and send events to Facebook on next page views.