After a theme, plugin or app update the pixel is gone
Tracking gone after an update
Updates are a common reason tracking fails quietly. The website looks the same as before, but a tracking code is gone or no longer loads. Since there's no error message, people often only notice from the numbers, days or weeks later. Enter your shop’s address below. You see usually within one to two minutes which pixels your shop loads. You can also check it yourself, the steps are further down. Enter address
How you notice
- Numbers in GA4 or the ad account drop on the day of an update.
- The purchase event is missing on the order confirmation while the rest of the site tracks normally.
- Meta Pixel Helper or Tag Assistant finds less after the update than before.
The check shows one page at one point in time. It does not see purchases or your ad account.
What it can come down to in your shop
- Shopify: a theme update overwrites code you or someone else put into the theme, for example a pixel snippet or a Tag Manager container.
- Shopify: pixels from the Facebook & Instagram channel or the Google & YouTube channel belong to the channel, not the theme. If you disconnect a channel or remove an app, the pixel can disappear.
- WooCommerce: a plugin update can reset settings that install the pixel.
Common causes
A theme update overwrites your edits
If tracking code was pasted straight into theme files, it's lost as soon as the theme is updated or switched.
Optimisation plugins
Plugins that delay, combine or offload JavaScript can break tracking tags or load them so late that they capture nothing.
Changes to the shop system
Shop systems move pages to new technology. Shopify, for example, moved the order confirmation to Checkout Extensibility, where old additional scripts no longer run.
Check it yourself, step by step
- 01After every update, open your website in a private window and accept the cookie banner.
- 02Use Meta Pixel Helper and Tag Assistant to check that all tracking tags that were there before still load.
- 03Make a test purchase or send a test form and check that the conversion event arrives, in Meta for example via Test events in Events Manager.
How to fix it
- Don't put tracking code straight into theme files; use Google Tag Manager or your shop system's official integration.
- Exclude tracking scripts from delaying and combining in optimisation plugins.
- After every larger update, check the most important pages, especially the order confirmation.
Let it be checked automatically
The check shows which pixels and tracking tags your shop loads right now. If a pixel that should run is missing, look at the last update first. You can also send the list to the person who looks after your ads.
Trackneat writes to you as soon as this problem happens again. During the trial we check morning and evening (8 am and 8 pm). On a plan we check every 4 hours.
14 days free