Facebook pixel doesn't track leads generated on Shopify store - how to I set up this tracking?

Highlighted
Tourist
4 1 3

Hi,

 

I have my Facebook pixel added to my Shopify store and it's tracking purchases etc. as desired but I have noticed that it is not tracking leads generated in my store. There are three ways we collect leads in our store:

 

1. A Privvy pop-up box on the home page

2. A sign up box at the bottom of site

3. At checkout

 

Does anyone know how to get the pixel to track leads generated in these three ways?

 

Thanks very much,

Jason.

 

 

2 Likes
Highlighted
Shopify Partner
24 1 5

You need a lead event to fire on those three. If you just add the pixel to Shopify, it won't do that.

 

You will most likely need to create a custom conversion and select Lead event, name it whatever you want and that's it.

 

If you can't create a custom conversion then the second option is just to track emails in your autoresponder. I don't see why you'd like to track that within Facebook since it's not that related. I get that some of the traffic that you're sending from FB will opt-in but that is an added bonus and not a goal with running ads. It would be a different story if you had like a dedicated opt-in page.

0 Likes
Highlighted

I had used this manual  and it helps me with Checkout tracking. Maybe it will help with your case.

e-Scraper, Extract data from any website into Shopify
1 Like
Highlighted

Hi Jason,

Yes, just pasting the pixel ID will not work if you have to capture leads from JavaScript or AJAX. These pop-ups or “Subscribe Newsletter” run JS on the site or Shopify does not give tracking for pixel load on “subscribe” options or loading third party JS.

In order to set up an event on this, you need to copy the event snippet from your “Event Manager” >> “Pixel” >> “Enter Code Manually” >> Find the event snippet of “Contact” or “Subscribe” and copy them.

Now find the “Submit” button “class” name or “id” in your file which you have made for your pop-up or the newsletter subscription. Then on the in the “button,” you need to add --
“onclick= “YOUR FB PIXEL EVENT SNIPPET“.


And you are done now.

I hope it helps. 
Thanks 

CedCommerce | Digital Marketing Services

Digital Marketing Analyst
Skype: live:asthaupadhyay_1
E-mail: asthaupadhyay@cedcommerce.com
0 Likes