Did you know we offer the ability to add custom code snippets needed for third party tracking, e.g. Google Tag Manager, Google Analytics, Facebook Event Manager, etc. to your event registration pages? This is especially beneficial for those of you who have paid advertising campaigns because it allows you to track your ROI (return on investment). Here's how to track conversions from Facebook, using their Facebook Pixel.


To create the Facebook Pixel code snippet*: 

  1. To create the code snippet, follow the steps in this article: How to Use Facebook Pixel. We'll walk you through an example below. 
  2. Copy the entire pixel code generated.
  3. In a new tab, log into your Team Sports Admin account. 

  4. Click MY ACCOUNT from the main menu. 

  5. Scroll down to Site Setup and click Custom Tracking Code.

  6. Paste the code to the Header section. 

  7. Switch back to your Facebook tab. 

  8. Click Continue.
  9. Next, you'll need to choose the event you'd like to track. We'll use Complete Registration for this example.
  10. Select Complete Registration making sure to use Track Event on Page Load and Send Event Parameters if you want to assign a value for your conversion.
  11. Click Send Event Parameters.
  12. Add in the price of your event for the Conversion Value (this is the amount you want to track when a user successfully registers for your event). If you running multiple events and want to track revenue, we will also dynamically send the amount the user paid to this script. You will just need to add the following line to the resulting conversion snippet (step 14):
    value: {event_price}
  13. Leave Currency blank. Or we will pull the currency dynamically, which you can access by adding the following line to your snippet of code:
    currency: {event_currency}
  14. Here’s an example of the resulting code that’s generated, which you can use yourself and skip all the steps above. This example uses the dynamically generated amount paid on registration and the currency:
    <script>
      fbq('track', 'CompleteRegistration', {
        value: {event_price},
        currency: {event_currency}
      });
    </script>
  15. Copy the resulting code to clipboard. 
  16. Switch back to your Team Sports Admin Custom Tracking Code tab and paste this code to the Successful Event Registration section. 
  17. Click Update Code
  18. As a best practice, we would recommend using the Pixel Helper extension for Chrome to test this. Here is the link to install it: https://www.facebook.com/business/help/198406697184603


Please Note: We’ve added the URL’s for each step of the registration process to the Custom Code Tracking page, so you can set up custom conversions for separate events as needed. You would do exactly what you already did above, where you use the unique event id for each step in the registration funnel you want to track e.g. "/signup?camp_id=MjM2OA==“.


*Because these are controlled by 3rd parties, these instructions may change, and we are only able to offer limited support. However, as always, if you have a questions please let us know and we will do our best to help!