How to add Facebook Pixel and setup events
In this article, you will learn how to integrate the Facebook Pixel on different pages in SystemeScale and set up events for tracking visitor actions.
What you will need:
- A Facebook business account
- A Facebook ad account
- A SystemeScale account
- A custom domain connected to your SystemeScale pages
Step 1: Set up your Pixel
Start inside your Facebook Business Settings so Meta knows which business, people, and ad account should control the Pixel.
Step 2: Install the Pixel on your website
Once the Pixel has been created and connected to the right ad account, install the Meta Pixel base code on your SystemeScale pages.
Meta will display your Pixel base code. Copy this code and add it to the Header code section of your funnel pages.
Adding the Facebook Pixel code to a sales funnel page
Adding the Facebook Pixel code from sales funnel settings
You can also insert the Facebook Pixel code into your Sales funnel settings so it automatically applies across your funnel pages.
Step 3: Set up events manually
The Meta event setup tool does not always work as expected. In that case, manually add the event code to the Meta Pixel code.
Step 4: Verify your domain
Meta may require domain verification before your tracking setup can work correctly for ads and conversion events.
Step 5: Test the installation
After your Pixel has been set up and installed, test it to confirm that Meta receives the expected events.
Step 6: Deduplicate Facebook Pixel and CAPI events
When you use both Facebook Pixel and Facebook Conversions API (CAPI), the same event can be sent through two channels: the browser through Pixel and the server through CAPI.
Deduplication prevents double-counting. Meta identifies duplicates with a unique identifier called an eventID, merges matching events automatically, and keeps your statistics more accurate.
How deduplication works
To enable deduplication, make sure both the Conversions API and the Facebook Pixel are implemented correctly.
If CAPI is already implemented, deduplication happens automatically when you select the event type from the dropdown. However, your Pixel code must be updated to include the correct event ID placeholder for each tracked event.
What is the Event ID?
The Event ID is a unique identifier generated for each conversion event, such as a purchase, opt-in, appointment, or content view. It allows Meta to avoid counting the same event twice when it is sent through both the Pixel and the Conversions API.
- The Event ID is sent automatically through CAPI.
- In the Pixel, you manually add the identifier in the tracking code using the placeholders provided by SystemeScale.
Common event snippets with eventID placeholders
Purchase: fbq('track', 'Purchase', {}, {eventID: '%FACEBOOK_PURCHASE_EVENT_ID%'});
Appointment: fbq('track', 'Schedule', {}, {eventID: '%FACEBOOK_EVENT_ID%'});
View Content: fbq('track', 'ViewContent', {}, {eventID: '%FACEBOOK_EVENT_ID%'});
Lead: fbq('track', 'Lead', {}, {eventID: '%FACEBOOK_NEW_LEAD_EVENT_ID%'});
Step 7: Configure deduplication for a View Content event
fbq('track', 'ViewContent', {}, {eventID: '%FACEBOOK_EVENT_ID%'}); to your Pixel tracking code.%FACEBOOK_EVENT_ID% where required. SystemeScale will automatically populate it with the unique ID from Facebook.Step 8: Verify Pixel and CAPI tracking
After adding deduplication placeholders, confirm that both your browser-side Pixel tracking and server-side CAPI tracking are firing correctly.
Verify Pixel tracking
Visit the page and confirm that events such as View Content are firing correctly with the associated Event ID. The Facebook Pixel Helper extension can help verify that the Pixel is capturing events as expected.
Verify CAPI tracking
Navigate through your website to trigger server-side events. For View Content or Lead detection, simply visiting the page can fire the event. For Purchase events, complete a test purchase so the purchase amount values can be captured.
Both CAPI and Pixel events can then be viewed in Meta Events Manager to confirm they are tracked correctly and that deduplication is functioning as intended.
Step 9: Track purchase amount using CAPI
To track the purchase amount using CAPI, use the Purchase event type and capture the purchase amount with the currency.
- If the product is physical, take the currency from the product.
- If the product is a digital offer or subscription, take the currency from the price plan.
Step 10: Track order bumps and upsells
Order bumps and upsells are not usually tracked as separate purchases from the main purchase event. Instead, the full order value is sent at the time of the purchase event.
- The entire order value, including upsells, is sent at the time of the purchase event.
- Order bumps and upsells are typically added as digital products, similar to the main offer.
- CAPI on the Thank You Page detects all previous purchases automatically, including the main offer, order bumps, and upsells.

