Conversion tracking
The Sygnal Pixel allows you to monitor your website visitors’ actions, known as conversion tracking. These tracked conversions are displayed in Activity Log and Signals Manager, where they help assess your conversion funnel’s effectiveness and calculate ROAS. They can also be used to create customer segments for exporting them to various ad platforms like Facebook or Google Ads. These customer segments also can help identify and target other users likely to convert.
You can track conversions with the Pixel in two ways:
- Standard signals: Predefined visitor actions reported via a Pixel function.
- Custom signals: User-defined visitor actions reported via a Pixel function.
Make sure the Pixel’s base code is installed on every page where conversions are tracked.
#Standard Singals
Standard signals are preset actions that visitors take, related to typical conversion activities like searching for, viewing, or buying a product. These signals can include parameters, enabling you to provide extra details about an signal, such as product IDs, categories, and quantities.
For a complete list of standard signals, refer to the Standard Singals Reference.
#Tracking signals
To track any signals (both standard or custom), use the Pixel's fbq('track')
function, which takes the signal name and optionally a JSON object with parameters. For instance, to track a purchase signal with the currency
and value
included:
rrq("track", "Purchase", { currency: "USD", value: 30.0, order_id: "232323" });
This function call would log a purchase signal in the Signals Manager.
Using the rrq('track')
Function
You can place the rrq('track')
function call anywhere within your webpage's <body>
tags, either on page load or when a visitor completes an action, such as clicking a button.
For example, to track a purchase signal after a visitor completes a purchase, you could place the fbq('track')
call on your purchase confirmation page:
<body>
...
<script>
rrq("track", "Purchase", {
currency: "USD",
value: 12.99,
order_id: "232323",
});
</script>
...
</body>
Alternatively, if you want to track a purchase signal when a visitor clicks a purchase button, you can attach the rrq('track')
function to the button on your checkout page:
<button id="addToCartButton">Purchase</button>
<script type="text/javascript">
document
.getElementById("addToCartButton")
.addEventListener("click", function () {
rrq("track", "Purchase", {
currency: "USD",
value: 12.99,
order_id: "232323",
});
});
</script>
In this example, the function call is triggered using vanilla JavaScript, but you can use any method you prefer.
Object Properties
You can add the following predefined properties to both custom signals and supported standard signals. Make sure to format your parameter data using JSON.
Check the standard signals reference for supported object properties.
Custom fields
If our predefined object properties don't fit your needs, you can create custom properties. These can be applied to both standard and custom signals, and can help you better define customer segments.
For example, if you want to track a visitor who bought several items after comparing them with others, you could use:
rrq(
"track",
"Purchase",
// begin parameter object data
{
value: 115.0,
currency: "USD",
order_id: "dsadsajkijjk1321",
contents: [
{
id: "301",
quantity: 1,
},
{
id: "401",
quantity: 2,
},
],
content_type: "product",
compared_product: "recommended-banner-shoes", // custom property
delivery_category: "in_store",
}
// end parameter object data
);
#Next Steps
Now that you're tracking conversions, utilize this data to create customer segments and optimize your ads for website conversions.