Troubleshooting Duplicate and Incorrect Purchase Events in PixelYourSite
Content
Why Are My Facebook Ads Showing Double Purchases?
If you're using the 'PixelYourSite – Your smart PIXEL (TAG) & API Manager' plugin and seeing duplicate purchase events, incorrect values, or events firing on the wrong pages, you're not alone. This is a common issue reported by users that can severely skew your advertising data and Return on Ad Spend (ROAS). Based on community reports, this article explains why it happens and outlines the most effective troubleshooting steps.
Common Symptoms of the Problem
Users typically report one or more of the following issues:
- Duplicate Purchase Events: A single order is recorded two or more times in Facebook Events Manager or Google Analytics.
- Incorrect Event Values: A purchase of 37.50 EUR is recorded as 3750 EUR, often due to a decimal point formatting error.
- Events Firing on Wrong Pages: The purchase event triggers on pages like
order-payinstead of only on theorder-received(thank you) page. - Random Retriggering: Old purchases reappear in event data days or weeks later with incorrect quantities or values.
- Server vs. Browser Mismatch: A huge discrepancy between the number of server-side and browser-side events for actions like 'Add to Cart'.
Why Does This Happen?
Duplicate and incorrect events are rarely caused by a single factor. Instead, they are often the result of a combination of plugin configuration, theme/plugin conflicts, and caching. The most common root causes identified by the community are:
- Caching Conflicts: Aggressive page caching, especially on critical pages like the checkout and order confirmation, can cause the browser to re-fire the pixel code when the page is served from cache.
- Payment Gateway & Checkout Flow: Certain payment plugins or custom checkout flows can generate intermediate pages (e.g.,
order-pay) that inadvertently trigger the purchase event before the final confirmation. - Meta's Automated Matching: In some cases, Meta's own systems (like "automated events without code") might be creating a second, unwanted event, as mentioned in one thread.
- Currency and Formatting: Multi-currency sites or formatting issues can lead to the value parameter being sent without the correct decimal place.
- Plugin Conflicts: Other plugins, particularly those that modify WooCommerce data or JavaScript behavior, can interfere with how PixelYourSite fires events.
Step-by-Step Troubleshooting Guide
Step 1: Conduct a Basic Test and Inspection
Before making changes, confirm the issue.
- Use the Google Tag Assistant and Meta Pixel Helper browser extensions to see what events are firing on your pages during a test transaction.
- Check your Facebook Events Manager to compare the number of browser and server events for discrepancies.
Step 2: Configure Caching Properly (Critical Step)
This is the most common solution. You must exclude key pages and scripts from being cached.
- Exclude Pages: In your caching plugin (e.g., WP Rocket, Litespeed), ensure the checkout, cart, and order-received pages are completely excluded from all types of caching (page, browser, JS).
- Exclude Scripts: Also exclude any scripts containing the terms
pysorPixelYourSitefrom delay and minification. One user also reported success by excludingwindow.pysWooProductData. - Clear All Caches: After making these changes, clear your website, server, and CDN caches completely.
Step 3: Verify PixelYourSite Settings
Ensure your plugin is configured to fire events precisely.
- Navigate to the plugin's settings for WooCommerce.
- Confirm that the "Fire the event on transaction only" option is enabled. This is designed to prevent the purchase event from firing more than once.
- For value formatting issues, check if your theme or a currency switcher plugin is outputting a formatted price that the plugin misreads.
Step 4: Check for Meta's Automated System
As referenced in one thread, a video from the PixelYourSite team suggests checking Meta's Business Settings for an option called "automated events without code" or similar, which might be generating duplicate events independently of the plugin. If found, this feature should be disabled.
Step 5: Identify Plugin and Theme Conflicts
- Temporarily switch to a default WordPress theme (like Twenty Twenty-Four) and see if the problem persists.
- Deactivate all plugins except for WooCommerce and PixelYourSite. If the issue is resolved, reactivate your other plugins one-by-one to identify the culprit. Pay special attention to payment gateway, funnel builder, and optimization plugins.
When to Seek Further Help
If the problem continues after following these steps, the issue may be more complex. The 'PixelYourSite – Your smart PIXEL (TAG) & API Manager' team often requests that users perform a test transaction and provide the exact URL of the order confirmation page for deeper investigation. You can contact them through their official website for specific guidance.
Remember, accurate tracking is essential for managing ad spend. Taking the time to resolve these issues will provide cleaner data and better campaign performance.
Related Support Threads Support
-
Extra purchase count on Thank you page reload or revisithttps://wordpress.org/support/topic/extra-purchase-count-on-thank-you-page-reload-or-revisit/
-
Catalog match rate 0%, no add to cart and no purchase events in cataloghttps://wordpress.org/support/topic/catalog-match-rate-0-no-add-to-cart-and-no-purchase-events-in-catalog/
-
two fb pixel one trcking purchase / and one doesn’thttps://wordpress.org/support/topic/two-fb-pixel-one-trcking-purchase-and-one-doesnt/
-
Multiple purchase events fired all over the websitehttps://wordpress.org/support/topic/multiple-purchase-events-fired-all-over-the-website/
-
Standart Conversion Issuehttps://wordpress.org/support/topic/standart-conversion-issue/
-
Add to Cart events without traffichttps://wordpress.org/support/topic/add-to-cart-events-without-traffic/
-
Universal Analytics conversions errorhttps://wordpress.org/support/topic/universal-analytics-conversions-error/
-
Event match quality significantly lower after installing PixelYourSitehttps://wordpress.org/support/topic/event-match-quality-significantly-lower-after-installing-pixelyoursite/
-
Purchase Event fired multiple timeshttps://wordpress.org/support/topic/purchase-event-fired-multiple-times/
-
Facebook ADs does not track all the Conversionshttps://wordpress.org/support/topic/facebook-ads-does-not-track-all-the-conversions/
-
Duplicate conversion on Ads Manager (not testing)https://wordpress.org/support/topic/duplicate-conversion-on-ads-manager-not-testing/
-
The Facebook pixel activated X times on this web page, which can cause errors inhttps://wordpress.org/support/topic/the-facebook-pixel-activated-x-times-on-this-web-page-which-can-cause-errors-in/
-
The smartest way to trigger lead conversionhttps://wordpress.org/support/topic/the-smartest-way-to-trigger-lead-conversion/
-
Conversion API tracking gone madhttps://wordpress.org/support/topic/conversion-api-tracking-gone-mad/
-
Pixelyoursite reports more purchases than realityhttps://wordpress.org/support/topic/pixelyoursite-reports-more-purchases-than-reality/
-
Conversions API not sending purchase eventhttps://wordpress.org/support/topic/conversions-api-not-sending-purchase-event/
-
FB PIXEL: Browser vs Server events firedhttps://wordpress.org/support/topic/browser-vs-server-events-fired/
-
50% of Value for Purchases are not showing on Facebookhttps://wordpress.org/support/topic/50-of-value-for-purchases-are-not-showing-on-facebook/
-
Facebook Pixel can’t track the order pay with PayPal paymenthttps://wordpress.org/support/topic/facebook-pixel-cant-track-the-order-pay-with-paypal-payment/
-
I’m experiencing what i believe to be rare cases of pixel issues, help needed!https://wordpress.org/support/topic/im-experiencing-what-i-believe-to-be-rare-cases-of-pixel-issues-help-needed/
-
Varios errores al configurar el pluginhttps://wordpress.org/support/topic/varios-errores-con-el-plugin/
-
About FB Ads data does not match GA4 reporting.https://wordpress.org/support/topic/about-fb-ads-data-does-not-match-ga4-reporting/
-
Conversion Tracking does not workhttps://wordpress.org/support/topic/conversion-tracking-does-not-work/
-
Huge difference between Browser events x Server events counthttps://wordpress.org/support/topic/huge-difference-between-browser-events-x-server-events-count/
-
WooCommerce Purchase Only Server No Browserhttps://wordpress.org/support/topic/woocommerce-purchase-doesnt-fire/
-
Wrong Facebook Ads Conversion Reportshttps://wordpress.org/support/topic/wrong-facebook-ads-conversion-reports/
-
Conversion API eventshttps://wordpress.org/support/topic/conversion-api-events/
-
Three errors I would like to solvehttps://wordpress.org/support/topic/three-errors-i-would-like-to-solve/
-
Multiple conversionhttps://wordpress.org/support/topic/multiple-conversion/
-
Purchase event fires twice – in order-pay and order-received pagehttps://wordpress.org/support/topic/purchase-event-fires-twice-in-order-pay-and-order-received-page/
-
Facebook For Woocommerce and Event Match quality querieshttps://wordpress.org/support/topic/facebook-for-woocommerce-and-event-match-quality-queries/
-
Multiplied Conversion for same purchase (Not browser/CAPI duplication)https://wordpress.org/support/topic/multiplied-conversion-for-same-purchase-not-browser-capi-duplication/
-
PCV Multiple currencieshttps://wordpress.org/support/topic/pcv-multiple-currencies/
-
database tableshttps://wordpress.org/support/topic/database-tables-34/
-
Puchase events duplicated and also with different informationhttps://wordpress.org/support/topic/puchase-events-duplicated-and-also-with-different-information/
-
Google Is Not Providing Correcrt Datahttps://wordpress.org/support/topic/google-is-not-providing-correcrt-data/
-
Strange events showing uphttps://wordpress.org/support/topic/strange-events-showing-up/
-
Facebook CAPI Help – Manually added ordershttps://wordpress.org/support/topic/facebook-capi-help-manually-added-orders/
-
Meta Pixel Events – Purchase Event issue – Currency needs to show AUD $ and US$https://wordpress.org/support/topic/meta-pixel-events-purchase-event-issue-currency-needs-to-show-aud-and-us/
-
pixel over reportinghttps://wordpress.org/support/topic/pixel-over-reporting/
-
Pixel bug – too many conversions.https://wordpress.org/support/topic/pixel-bug-too-many-conversions/
-
Pageviews event instead of purchase ???https://wordpress.org/support/topic/pageviews-event-instead-of-purchase/
-
Duplicated orders appear in tfacebook pixelhttps://wordpress.org/support/topic/duplicated-orders-appear-in-tfacebook-pixel/
-
My pixel doesn’t recognize decimals and duplicates purchaseshttps://wordpress.org/support/topic/my-pixel-doesnt-recognize-decimals-and-duplicates-purchases/
-
How to track a Lead conversion in a good wayhttps://wordpress.org/support/topic/how-to-track-a-lead-conversion-in-a-good-way/
-
FB ads are abnormal, the shopping cart add rate is over 90%! ! !https://wordpress.org/support/topic/fb-ads-are-abnormal-the-shopping-cart-add-rate-is-over-90/
-
Duplicate conversion eventshttps://wordpress.org/support/topic/duplicate-conversion-events/
-
Header Footer – Conversion Tracking Variableshttps://wordpress.org/support/topic/header-footer-conversion-tracking-variables/
-
WP Funnels Tracking inaccuracyhttps://wordpress.org/support/topic/wp-funnels-tracking-inaccuracy/
-
problem with variations productshttps://wordpress.org/support/topic/problem-with-variations-products-3/
-
Multiple Triggered Events Randomlyhttps://wordpress.org/support/topic/multiple-triggered-events-randomly/
-
Duplicate transactions in Google Analyticshttps://wordpress.org/support/topic/duplicate-transactions-in-google-analytics-3/
-
Event data problemhttps://wordpress.org/support/topic/event-data-problem/