where to put the facebook pixel?

21 0 3


i'm experimenting with facebook ads. i've chosen for the automatic (integrated option) so shopify placed the FB pixel on checkout (i mean, i didn't copy paste the code there myself).

now my question is: since i have a lot of free (digital) products on my site, i want to make sure i track actual *sales* (for paid products) and not just checkouts of free products. can anyone tell me what the right way is to do that?

thank you!

Replies 12 (12)
Shopify Partner
258 27 74

Hi @lsrobinson1,

you need to paste the Facebook Pixel code between <head> and </head> section. However, I highly recommend connecting your BM, ad account and adding pixel via the Facebook Sales Channel. Learn more about it here: https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/facebook-pixel

Send me a link to your store to niki@hey.com and I'll help you out.
For more info what I do, visit nikikozak.me
12 0 7
Hi Niki, I figured it out yesterday. thank you!
12 0 7

okay thank you so much!