This post has been updated.
Here is a quick tutorial on how to set up Facebook Pixel Events to track your sales on Facebook ads! 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 creators track their sales as well.
The video above has a full tutorial that will walk you through the process from start to finish. Below is a quick guide on how to set it up. There’s also a transcript of the video at the bottom of this post.
Setting up your Facebook Pixel Event
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
Select Custom Conversion for this purchase event. Choose Purchase Event from the dropdown list, and change Rule 1 from URL to Event Parameters.
Choose content_name from the second dropdown. Finally, type the name of your product without spaces (this is the identifier Facebook will look for).
Next, give the conversion a name and leave the value blank for now. Next, find the main Facebook pixel code that Facebook 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 Facebook code includes your new unique purchase event with the right name field. Near the end of the Facebook code, paste the new section of code right before the final script tag.
Now replace the generic content_name phrase with what you named it in your custom conversion. Change Value to the price of your product and change Currency to the currency you’re using.
Here’s why Facebook Pixel Events are so important:
- – 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.
- – You will have more accurate conversion numbers when you track just the specific product sold.
- – When you change your reporting dashboard, you will be able to track just the data that really matters to your business.
Advertising on Facebook is our preferred method for scaling. It’s also the favorite of most six and seven-figure creators. If you want to get even more out of Facebook Ads or need a refresher, check out our Facebook Ads 101 playlist on our YouTube Channel.
Get Your Facebook Conversion Tracking Cracking
Join 23,000 other creators who have used SamCart to sell more than $2 billion of their own products, goods, and services. Check out our plans, and grab a free demo today.
Real team members are at your service seven days a week. Our Knowledge Base is also a great resource if you have any questions.
We’ve created powerful features to multiply your sales. Our beautiful pre-designed templates help creators launch products faster than ever. SamCart makes running your online business simple.
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.
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.
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.
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.
Sign up to receive email updates
Enter your name and email address below and I'll send you periodic updates about the podcast.