Hi everyone, I’m experiencing a bug/issue with Facebook Pixel in my landing page
I have set up basic facebook pixel in the main landing page, and it works good: it tracks page views.
Then I have set up an event in the form confirmation dialog. According to Facebook, I have to put the event just right after the main pixel code but I cant’ do this , the only thing I can do is putting the event code “After Body Tag” ; it’s not working
Tthe only way I have found to make it work is adding the main facebook pixel in the confirmation dialog too (Head) + adding a new script with the event (after body tag). This way I can track the event but I get 2 pageviews, baiscally the page view is counted twice by the pixel (and it makes sense, has the basic code is installed twice)
How can I fix it? Has anyone ever experienced this before? It’s kinda annoying as Facebook custom events are very important and if the page view fires up twice… analytics will be messed up