Facebook Pixel ID Configuration for PrestaShop
Introduction
The Facebook Pixel is a powerful tool for tracking user interactions and optimizing ad campaigns on Facebook. If you are using the Pixel Plus module for PrestaShop, this guide will help you correctly configure your Facebook Pixel ID to ensure precise event tracking and avoid conflicts with other pixels on your site.
How to Obtain Your Facebook Pixel ID
To integrate the Facebook Pixel into your PrestaShop store, you first need to retrieve your Pixel ID from Facebook. Follow these steps:
- Go to Facebook Business Manager: Log in to Facebook Business Manager.
- Open Events Manager: Navigate to the "Events Manager" section.
- Select Your Pixel: Under the "Data Sources" tab, select "Pixels."
- Copy Your Pixel ID: The Pixel ID is displayed at the top of the settings panel. Copy this number and paste it into the "Pixel Identifier" field in the Pixel Plus module for PrestaShop.
Adding Multiple Facebook Pixel IDs
The Pixel Plus module for PrestaShop allows you to add multiple Facebook Pixel IDs. To do this:
- Enter multiple Pixel IDs in the "Pixel Identifier" field, separating them with a comma (
,
). - Example:
1234567890,0987654321
- While Facebook does not recommend using multiple pixels, this feature can be useful for advanced tracking setups.
Individualizing Events
The "Individualize Events" option allows you to control which pixel receives the event data. By default, this setting is disabled. When enabled:
- Each event is triggered only for the configured pixels in the "Pixel Identifier" field.
- This is particularly useful when multiple pixels are installed on your PrestaShop site, and some belong to third-party tools or external advertising accounts.
- If another Facebook Pixel is added outside the Pixel Plus module, enabling this option helps prevent duplicate event tracking.
Important Considerations:
- If you enable "Individualize Events," ensure you configure events separately for other pixels installed outside the Pixel Plus module for PrestaShop.
- Failing to individualize events for external pixels may result in incorrect tracking data and duplicated conversions.
- Ensure also that third party tools are sending the events by individualizing them too, otherwise once the Pixel is loaded, the third party tools can also send events to the loaded pixels.
For more information, visit the official Facebook Pixel Documentation.