How to customize events for Facebook pixel
Articles on: OnePixel
Want more control over what gets tracked by your Facebook Pixel? Here's how you can easily switch between tracking product_id and variant_id to better suit your store's goals.
At OnePixel, we get it—every store is different. Whether you're focusing on specific product variants or just want to simplify your tracking setup, our latest feature gives you the flexibility to do just that.
Table of Contents
1. Tracking different events by product_id or variant_id
2. Supported Events and Default Settings
1. Tracking different events by product_id or variant_id
Our new update lets you decide how events are tracked—either by product_id
or variant_id
. This means more accurate data for what matters most to your business.
Steps
- Login to your OnePixel dashboard.
- Go to the Facebook Pixel integration section.
- Choose between automatic or manual pixel connection.
- Select the events you want to track.
- Toggle between
product_id
andvariant_id
for each event depending on your tracking needs.
2. Supported Events and Default Settings.
Here's how events are set up by default in OnePixel:
- ViewContent – ON –
product_id
- AddToCart – ON –
variant_id
- ViewCart – ON –
variant_id
- InitiateCheckout – ON –
variant_id
- AddPaymentInfo – ON –
variant_id
- Purchase – ON –
variant_id
- Search – ON –
variant_id
- ViewCategory – ON –
variant_id
Notes:
That’s it! You now have full control over how Facebook Pixel events are tracked—whether by product or variant. Customize what matters most and get the insights you need.
Need help or have more questions? Feel free to reach out at support@socialhead.io
Updated on: 12/05/2025
Thank you!