Web pixels not updating across client stores

Hi Shopify forums!

We have a Shopify pixel that we’re updating and deploying, but clients with the pixel already enabled are not getting the new code downloaded onto your themes. Updating the pixel only affects new installations.

Shopify pixel might be loading a file like this on the front end.
web-pixel-248283374@63f36d2d7017523fc3522cc5de05bc81.js

By deploying new extension code, the frontend still loads the same version.
web-pixel-248283374@63f36d2d7017523fc3522cc5de05bc81.js

How do I update web pixel code and have it affect all existing pixel installs?

If I remember correctly we experienced something similar when building our web pixel integration. I think we had to call webPixelUpdate for each store to be sure the new code rolled out.

Best regards,

Kevin :hatching_chick:

Thanks! I owe you a coffee at Editions!

Invoking webPixelUpdate with an empty set off variables removed the cached pixel being served to a store.

2 Likes

Looking forward to a coffee in Toronto :wink:

2 Likes

You love to see it! Thanks @Kevin_Sieger !!