Current Lesson
Course Content
Course Content

How To Install a Facebook Tracking Pixel

If you’re using Facebook ads—or you plan to use them in the future—the Facebook pixel is a must. The Facebook Pixel will help you get the most out of your social ad budget. Here’s everything you need to know about how it works in Simplero.

Even if you’re not using Facebook ads yet, you should install the Facebook pixel now. It will start collecting data right away so that you don’t have to start from scratch when you’re ready to create your first Facebook ad.

How to create a Facebook pixel and add it your Simplero website

It's a 4-step process: 

  1. Create pixel in Facebook
  2. Add code to Simplero
  3. Add event tracking code to Simplero
  4. Test that it's working

Step 1: Create your pixel in Facebook

  1. Go to your Pixels tab in Events Manager.
  2. Click Create a Pixel.

  3. Name the Pixel and Click Create in the box that appears to finish creating your pixel.
  4. Copy the Facebook pixel code by clicking Setup the Pixel >> Manually install the Code Yourself

Facebook Guide on pixel setup

Step 2: Add the Code to Your Simplero Site

To put the pixel to work gathering information on your Simplero site, you now need to install the Facebook pixel code. 

There are few different places you could potentially install the FB pixel code depending on your goals. 

Same Facebook Pixel Code for Entire Site - Recommended

  1. Under Settings >> Colors and Graphics >> Tracking Code
  2. Paste Code into "Custom tracking HTML code for all pages"

 This will install the same Facebook pixel across every page of your Simplero site - web page, blog pages, landing pages, membership sites, order forms ... seriously, everywhere. 

Different Facebook Pixel Code for Webpage / Landing Page / Membership Sites / Etc. 

If (for some reason) you want to use a different Facebook tracking pixel for the different areas of your site, for example the web page vs. a membership site, Simplero offers you the ability to install the FB pixel at this level. 

For Website - 

  1. Under Website >> Configure >> Advanced
  2. Copy FB Pixel code into "Custom tracking HTML code"

For Membership Sites - 

  1. Under Membership Site >> [Specific Membership Site] >> Configure >> Advanced
  2. Copy FB Pixel code into "Custom tracking HTML code"

For Landing Pages - 

  1. Under Landing Pages >> [Specific Landing Page] >> Settings >> Advanced
  2. Copy FB Pixel code into "Custom tracking HTML code"

Each tracking pixel can be installed separate if you prefer, however it much easier and recommended to use a single tracking pixel for the entire site. 

For Products - 

  1. Under Products >> [Specific Product] >> Order Form >> Tracking Code
  2. Copy FB Pixel code into "Custom tracking HTML code"

Each tracking pixel can be installed separately if you prefer, however it much easier and recommended to use a single tracking pixel for the entire site. 

Step 3: Track the Right Events (Conversions) for Your Business

By following step 2 we're now tracking page views to our site. But with the Facebook pixel we can also track events - sometimes called conversions - which are actions the user takes on our site. 

Facebook has a number of standard events defined here.

Let's look at two examples and how to setup in Simplero. 

Track a Purchase 

1. Get the event code from the FB guide linked above: 

That event code gets wrapped in <script></script> tags and we're ready to install on our site after updating the value and the currency for your product.

<script>
fbq('track', 'Purchase', {value: 29.00, currency: 'USD'});
</script>

We want to install this code onto the Thank You or Confirmation page for a purchase. 

Simplero makes this incredibly easy: 

  1. Under Product >> [Specific Product Name] >> Content >> Third-party order tracking
  2. Copy the code in "Custom Conversion Tracking Code"

This purchase tracking code is added to the thank you page even if you use a custom thank you page. 

Track a List Sign Up 

Another common event is to track a list sign up. 

For the list signup tracking you need to create a custom Thank You page to send the user to after joining the list. 

Under Landing Pages, you can create a Landing Page to serve as the custom Thank You page.

Then in the list, put that Landing Page URL as the Thank You page.

The steps to put the code on the landing page are the same as above. 

1. Get tracking code from the FB guide linked above: 

That event code gets wrapped in <script></script> tags and we're ready to install on our site. 

<script>
fbq('track', 'Lead');
</script>

We want to install this code on the Custom Thank You page of the list. 

Simplero makes this very easy: 

  1. Under Landing Page >> [Specific Specific Landing Page] >> Settings >> Advanced
  2. Enter code in "Custom Tracking HTML code"

Track with a Custom Conversion

You can also setup conversion tracking in Facebook using their custom conversions. 

For this option go to your Facebook Pixel Event Manager. 

Find the button "Create Custom Conversion". 

Enter the URL of the Thank You/Confirmation page and this code will fire each time someone visits that URL.

If you're tracking list signups, it's very important to use URL "contains" because Simplero's default thank you page adds some parameters (i.e. ?simpleroID = xxxx) to the URL. 

With this method you're now tracking signups every time someone visits that URL. 

Step 4: Test the Setup

If you're going to spend money on ads you have first got to test to ensure everything is working!! 

Otherwise, you're flushing money drown the drain. 

I recommend the Chrome Facebook Pixel Helper plugin. It will show you which (if any) Facebook pixel and event codes are installed on a site. 

Visit a page, subscribe to a list, create a freebie purchase - do the right Facebook pixels appear? 

If not, something is off. Check your setup! 

Some Other Resources:

 

GDPR notice for those doing business in the EU: Please keep in mind when using tracking pixels that you are doing so in compliance with GDPR, actions such as these may violate rules in regards to consent and profiling. This message does not constitute legal advice. Should you have a question about compliance, please consult a lawyer. 

Video Training

For those who prefer a video walkthrough, below you'll find one! 

Last updated 9 Sep 2019.