man working at computer

SamCart Blog

How To Set Up Facebook Pixel Events To Track Sales On Facebook Ads!

Tutorials

Hey guys- hope everyone is hangin’ in there and staying safe. We want to give you guys a quick tutorial on how to set up Facebook Pixel Events to track your sales on Facebook ads! That’s a mouthful -whew- but we promise it’s not as complicated as it sounds. This is how we track all of our sales at SamCart, and how most of our top sellers track their sales as well. 

The video above has a full tutorial that will walk you through the process from start to finish. Here’s a quick guide on how to set it up: 

Setting up your Facebook Pixel Event

First, in your SamCart account you’re going to open up your product that’s being sold as an upsell or order bump.

 Go to advanced settings, then scroll down to “fire pixels and scripts after an order is completed”. 

Head over to Facebook to set up a custom conversion

Choose custom conversion for this purchase event. Choose purchase event from the dropdown list, and change rule from url to event parameters.

Choose content_name from second drop down. Finally, type the name of your product without any spaces (this is the identifier Fb will look for). Next, give conversion a name and leave value blank for now. Next, Find main fb pixel code that fb provides.

Head back to SamCart for Integration!

Go back into SamCart product settings and paste it into fire pixels and scripts after order is completed.

 Final step: make sure your fb code includes your new unique purchase event with the right name field. Near the end of the fb code, paste the new section of code right before the final script tag. 

Now replace generic content_name phrase with what you named it in your custom conversion. Change value to price of your product and change currency to the currency you’re using.

Here’s why Facebook Pixel Events are so important:

  1. You don’t have to track every URL your customer clicks on.. this will help you avoid tracking all your “thank you” pages after a customer makes a purchase
  2. You will have more accurate conversion numbers when you track just the specific product sold
  3. When you change your reporting dashboard, you will be able to track just the data that really matters to your business.

Are you not using SamCart yet? Check out why thousands of businesses have chosen to make the switch at SamCart.com.  For more tips on how to boost your sales, check out this recent blog post

Let us know if you implement this and what your results were in the comments! If you found this video helpful and want to watch more like it, you can click here for the SamCart Youtube Channel!

Brian Moran:
Hey guys, it's Brian from SamCart. In this video, I'm going to show you how to easily track the sales from your order bumps in one click upsells inside of the Facebook ads platform. If you're a SamCart customer, the first step is to open up the product that's being sold as an upsell or the order bump. In the product settings, you just go to the advanced settings tab and find the input area labeled fire pixels and scripts after an order is completed, this is where you place the code that fires your conversion pixel for Facebook. Before you enter anything into this box, head over to Facebook and set up a custom conversion for this purchase event. Once you create a custom conversion, instead of basing the conversion on the URL the visitor hits, which is the default option, select the purchase event from the dropdown. Then change the rule from URL to event parameters and choose the content underscore name in the second dropdown and finally type the name of your product without any spaces.

Brian Moran:
This content underscore name freeze that you enter will be the unique identifier that Facebook will look for in order to fire your conversion event. Next, give your conversion a name and leave the value field blank for now. When you're done, find your main Facebook pixel code that Facebook provides and go back into your SamCart product settings and paste it into the input area labeled fire pixels and strips after an order's completed. The final step is making sure that the Facebook code includes your new unique purchase event with the correct content underscore name field. Near the end of the Facebook code, paste the new section of code that we provide right before the final script tag. After you paste it, replace the generic content underscore name phrase we included with what you entered in your custom conversion. Then replace the value field with the price of your product and change the currency to whatever currency you're selling and that's it.

Brian Moran:
This simple approach can be used on any product that you sell, whether it's a front end product, order bump, or one click upsell. The beauty of this approach is that you no longer need to base your conversions on the URL that your customer hits after they buy, so you don't need to keep track of all your thank you pages ever again. Anytime this product is sold, no matter how it's sold, the conversion will fire and you'll see which ads are bringing in the most sales. And to make your life even easier, after you have all this setup, go into your ads account and select the dropdown that allows you to change what shows in your reporting dashboard. Then click on the customized columns button and search for your new custom conversion from the available metrics. Now you can select any custom conversion and reveal how many conversions there were, the cost of getting that conversion, and the total dollar value driven from that conversion.

Brian Moran:
Now you can have all the data at a glance anytime you log into your Facebook ads account. But just a fair warning, it may take a couple of hours after the first conversion is fired for some of those options to appear, so don't panic if you don't see them right away. This is how we track all of our sales at SamCart and how almost all of our top sellers track their sales as well. If you have any questions, just let us know and we'll be happy to help out however we can. And if you're not currently using SamCart to sell your products, head over to samcart.com and take it for a test drive and see for yourself why thousands of businesses are making the switch.

powered by

Get A Demo Of SamCart Today

Background image

Try it free for 14 days. Cancel anytime.