x

All Facebook Pixel Events Are Firing on All Pages. How can I change this?

I set up a facebook pixel a while ago and it was faulty from the start. It started collecting data just fine but it is tracking all events identically with no discrimination of events on all website visitors. Is there any way I can fix this? 

Before last night, I had the older Pixel code but I updated it and the custom tracking fields were also blank. I thought this would solve my issues...

I've included screenshots of all my pixel code integrations into Weebly. 

imageimageimage

Pixel helper: All these events are firing like page views. 

image

5,089 Views
Message 1 of 13
Report
12 REPLIES 12
Square

I haven't used Facebook pixel tracking personally, so I'm flying a little blind here; just to make sure I'm on the same page your issue is that you have identical stats for all three metrics, implying that every person who is being tracked is hitting all three pixels - something that seems unlikely.

5,083 Views
Message 2 of 13
Report

That's correct. All four pixels actually. I had this issue before I put the JS code in the custom tracking code section under setup on the weebly website, which I only did the night before, to try and fix the issue but that didn't seem to work...

5,067 Views
Message 3 of 13
Report
Square

Where was it before you added it to those fields? in Settings > SEO > Header Code?

5,026 Views
Message 4 of 13
Report

I think so. but I also updated the Pixel code in the header to the newest version that Facebok has provided. But everything is behaving like I changed nothing at all.
5,011 Views
Message 5 of 13
Report
Square

Hmm... Ok, just so I know what you have where, what code is added to Settings > SEO > Header Code right now, and what code is within each of the fields in Store > Setup?

5,010 Views
Message 6 of 13
Report

What you see in the screenshots in my original post is what I have installed now on my weebly website at proudbears.com
4,996 Views
Message 7 of 13
Report
Square

Based on Facebook's instructions it looks like it's set up fine. I saw these errors in console on your homepage:

image

image

And looking further down in the code I can see that the templates that are made for what you enter in Store > Setup are being rendered on the homepage. I'm not sure if that's by design or not, though, so I'll open a ticket with our engineers to see.

4,990 Views
Message 8 of 13
Report
Square

I talked with one of our engineers, and we think that one of the apps that you are using is adding the code to every page. I see three different social-related apps (Facebook like button app, tint social feeds, social media grid), so I'm not sure which one it is. I would try removing one and seeing if that helps, then another, and so on until you can tell which one it is.

Also, you will need to slightly modify the code you've added to the three fields in Store > Setup so that this part:

 fbq("...

fbq('track'....etc

Looks like this:

parent.fbq('track'.....

The code that we add from those fields is added within an iframe to the page, so you need to tell it to go to the parent in order to use the code added to Settings > SEO > Header.

4,982 Views
Message 9 of 13
Report

Thanks a million for all your help! I will disable those apps and make the changes in the code to see if that improves things. Would Facebook Live Chat by Zotabox affect things too?
4,961 Views
Message 10 of 13
Report
Square

It could be that one, yes; It's probably going to be a bit of trial and error to see which one it is. The code is being added just below our Quantcast tracking code near the footer, so if you disable one at a time you can probably quicky see which one is doing it.

1,863 Views
Message 11 of 13
Report

Okay I turned off the zotabox facebook chat. How can I see the code? View source in my browser?

1,856 Views
Message 12 of 13
Report
Square

I would use Web Inpsector in Chrome/Safari so that you're seeing all of the active code on the page. I still see the code being added, so it doesn't look like it's that app.

1,848 Views
Message 13 of 13
Report