where to put the facebook pixel?

james_stilton
Tourist
21 0 3

Hi,

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)
Jodyshop_Shoppi
Excursionist
53 0 3

Hi there,

It's easy as 123, please follow these steps to learn how to creat & place the proper codes in your website (WP or HTML) websites.

Create a Facebook pixel

  1. Go to your Pixels tab in Ads Manager.
  2. Click Create a Pixel.
  3. Click Create in the box that appears to finish creating your pixel.

Add the Facebook pixel to your website

Once you've created your pixel, you're ready to put the Facebook pixel code on your website. Choose the statement below that best fits how you make updates to your website's code for instructions:

Go to your website's code and find the header of your website.

  1. Locate the header code for your website.
  2. Copy the entire code and paste it in the header of your website.
  3. Check that your code's working correctly.

Paste the code at the bottom of the Header Section, just above the closing head tag.

Click Send Test Traffic after placing the code on your website to make sure your pixel's working properly. If your status says "Active", your base code has been installed correctly. This can take several minutes to update.

That's it, no more compicated steps.

Fashion Shopping Online

Jodyshop Technologies, Inc. @ Jodyshop.com
lsrobinson1
Excursionist
13 0 8

Can someone please help me find the Header. I'm trying to place the facebook pixel code. It would be greatly appreciated.

 

lsrobinson1
Excursionist
13 0 8

I'm currently on my store and I am at where it says header but I'm lost from there

Niki_K
Shopify Partner
413 41 109

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 my agency website ecommercepot.com or my personal website nikikozak.me.
lsrobinson1
Excursionist
13 0 8
Hi Niki, I figured it out yesterday. thank you!
lsrobinson1
Excursionist
13 0 8

okay thank you so much!

james_stilton
Tourist
21 0 3

hi, thanks, but i don't think your answer answers my question. i want to get data on actual paid checkouts?

thanks

Rob11
Explorer
75 0 20

Hi James ... Happy New Year!

If your FB pixel has been set up correctly, all of your cart checkouts should be captured.

If you want ensure that everything is working as you expect it to, read this and install the Facebook Pixel Helper in your Shopify Store.

I hope this helps.

Cheers ... Rob

james_stilton
Tourist
21 0 3

thank you rob. i'm not sure if i should see a $ amount. what i'm saying is just the number of conversions, but i don't know if these are conversions to paid products or to free products. so i'm looking for a way to exclude conversions to free products. for free products, a checkout is necessary, but one doesn't get on the actual payment page, so i was wondering if perhaps a pixel needs to be exactly there?

Rob11
Explorer
75 0 20

James ... if I'm not mistaken, since your "free" product customers don't actually go through the checkout page, those transactions shouldn't show up as a purchase. Naturally, the actual purchases will be captured.

If you determine that you aren't getting the data that you want/need from Facebook, you can also look into setting up Google Analytics.  There are also some free eCommerce apps like this one that track and report some of your store's key metrics.

~ Rob

eliasjaxson0001
New Member
32 0 0

With Trackify X you can now track all your pixels, this Shopify facebook pixel app allowing you to create deep custom audiences, collect niche tracking data, collection tracking data, date and time data. The custom events include

 

*View Category *Customize Product *View Cart *Add Shipment Info

While the custom event parameters include

 

*Niche tracking tags *Collections *Date and Time data *User Information *Full support for advanced matching


Driving traffic to pages both on and off Shopify? Trackify X generates a pixel formatted code that can be applied to all pages including blogs and external landing pages for data extraction.

BlackHawk17
Shopify Partner
8 0 2

Hi James,

 

If you are selling Free plus shipping type products then try our Facebook Pixel Tracking App - Pixel Conversion Pro Facebook as it will track all your sales correctly in your Facebook Ad Reports.  You can try our app here: https://apps.shopify.com/pixel-conversion-pro

Thank you!

Regards,
James (Tech Support)