How to Detect External Sources Sending Facebook Events
If you're seeing unexpected Facebook events (like AddToCart
, Purchase
, or InitiateCheckout
) even when you’ve configured Pixel Plus to avoid tracking them, this guide will help you detect if they're being triggered by external sources, such as:
- Other Facebook-related modules
- Manual JavaScript tracking code
- Google Tag Manager (GTM)
- Facebook’s automatic event tracking features
✅ When to Use This Guide
Use this diagnostic when:
- You’re seeing too many purchase events
- The purchase event count is higher than your actual orders
- Events are triggered even when disabled in the module
- You want to verify that only Pixel Plus is sending Facebook events
🔍 Step 1: Disable All Events Except PageView
Pixel Plus allows you to selectively enable or disable Facebook event tracking (except PageView
, which is always sent).
How to do it:
- Go to PrestaShop Back Office → Modules → Pixel Plus → Trackable Events
- Disable all event options like:
AddToCart
Purchase
InitiateCheckout
CompleteRegistration
- and others
- Click Save
🧪 Step 2: Simulate Normal User Actions
Now browse your site like a regular user:
- Visit a product page
- Add a product to cart
- Start checkout
- Complete an order (optional)
- Submit a form, register, or apply a discount
🔬 Step 3: Monitor What Events Are Still Being Sent
✅ Option A: Use Meta Pixel Helper
Install from the Chrome Web Store
This tool shows:
- All Pixel events triggered by the browser
- Event parameters and origin
If you see any event other than PageView, it's not coming from Pixel Plus.
✅ Option B: Use Facebook Events Manager – Test Events Tool
For a more complete view (including CAPI/server events), use the Test Events tool:
- Open Facebook Events Manager
- Select your Pixel and go to Test Events
- Copy the Test Code (e.g.,
TEST1234
) - Go to PrestaShop Back Office → Pixel Plus → CAPI section
- Paste the code into the Test Code field
- Enable Enable Test Code Events
- Click Add My IP to limit the test to your session (recommended)
⚠️ Important:
Disable the test code after your testing session.
Leaving it enabled without IP restriction can cause Facebook to flag your pixel or show errors.
🚨 Step 4: Interpret the Results
- If only
PageView
appears, your module is working as expected. - If other events appear, they’re triggered by external sources.
🛠️ Step 5: Identify External Sources
✅ 1. Other Modules
Check for other Facebook-related PrestaShop modules or marketing tools that might trigger events independently.
✅ 2. Manual JavaScript
Search your theme files or custom JS for:
fbq('track', 'Purchase');
Remove any manually placed tracking scripts.
✅ 3. Google Tag Manager (GTM)
- Open your GTM workspace
- Look for Facebook-related tags (Purchase, AddToCart, etc.)
- Disable any that may overlap with Pixel Plus
✅ 4. Facebook Event Setup Tool
Facebook sometimes tracks events automatically.
To disable:
- Open Events Manager
- Go to your Pixel → Settings
- Disable:
- Automatic Advanced Matching
- Event Setup Tool
✅ Summary
Using the Trackable Events configuration, Pixel Helper, and Test Events tool, you can:
- Verify if unwanted events are triggered by Pixel Plus
- Identify third-party tools or scripts that may interfere
- Ensure clean, precise tracking across your store
Need help with duplicated Purchase
events?
👉 Check out the full guide here