Certain Events not Firing for Facebook Pixel

GabrielChan
New Member
2 0 0

Hi there, I have installed District theme and I am not seeing the certain events firing properly for my store. It was linked up using partner integration.

What happened was I didn't know better and ended up unnecessarily creating 3 pixels for the same store. When I created the first pixel and tested out the events, it was working fine. Now using the 3rd pixel, I can see most events up to add to cart. I can't see initiate checkout (which i was able to see) and the other events down the line to purchase.

Really at my wits end and hope I can get some help to move on to the next stage of creating ads with comfort knowing that the pixels are working in the background correctly.

Much thanks.

Replies 5 (5)
_JB
Shopify Staff
Shopify Staff
836 99 211

Hey @GabrielChan,

Are you using Shopify's native pixel integration? Our integration only requires pasting the pixel_id in the admin under Online Store > Preferences. 

If you're manually pasting pixel code on your theme, the process of ensuring all events fire correctly will look different for every theme. Our native integration does some server-side magic to ensure we fire the pixel on each page, so I definitely recommend using that.

JB | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

GabrielChan
New Member
2 0 0

Hi JB, I am using shopify's native pixel integration where all i had to do was paste the pixel id into the field you had mentioned.

dg-sw
New Member
4 0 0

I'm having exactly the same issue as @GabrielChan, also using Shopify's native integration but the AddToCart event doesn't fire.

It was firing correctly some time ago, without any code modification, but now the only way I've found to make it work is to manually add the fbq('track', 'AddToCart'); to the theme.js file, which is less than ideal of course.

YdavidPS
Excursionist
14 0 4

Hi,

I have been struggling with the same issue for a while.
My add to cart and initiate checkout are not firing properly and consistently. My collection page also is hanging with firing some events.

I used the native integration

Your help is appreciated

YdavidPS
Excursionist
14 0 4

Hi,

I have been struggling with the same issue for a while.
My add to cart and initiate checkout are not firing properly and consistently. My collection page also is hanging with firing some events.

I used the native integration

Your help is appreciated

my website is primestyle.com