Update an outdated snippet
When Boostra says your tracking code is out of date, copy the current snippet and replace the old one.
Updated
Boostra improves its tracker regularly. The snippet carries a version number in its src (t.js?v=...) so Boostra can tell which version your site runs and warn you when it is behind.
The warning#
When your site runs an old tracker, the project shows a banner: "Your tracking code is out of date. Copy the new code and replace the old one."
It appears when:
- your tag has no
?v=version at all, - your tag has an older
?v=than the current release, or - events keep arriving from an older tracker more than an hour after a new release (for example, from a page or template you missed).
Update it#
- Click "Copy current snippet" in the banner (or "Copy snippet" in "Settings" under "Install tracking").
- Replace the old snippet everywhere it appears: your main layout, subdomain apps and any extra domains.
- Deploy.
- The banner disappears once events from the new version arrive.
Replace, do not add. Two snippets on one page count every visit twice.
If you installed with an AI coding agent, you can paste the new snippet and ask it to replace the old one, or copy a fresh prompt with "Copy prompt". See install with an AI coding agent.
Shopify#
On a connected Shopify store you do nothing: "Boostra updates Shopify tracking automatically within a few minutes. If this stays, disconnect and reconnect Shopify." See install Boostra on Shopify.
Why it matters#
Old trackers keep working, but newer ones fix bugs and record more accurately, so updating keeps your funnels, traffic quality and revenue matching correct. After updating, check the status in check that tracking is live.
Related articles
-
Install the tracking snippet
Copy your site's snippet from Boostra and paste it into the head of every page you want to measure.
Read article -
Check that tracking is live
How Boostra confirms your snippet, what each tracking status means and how to fix a missing or partial install.
Read article -
Install Boostra on Shopify
Connect your Shopify store with a custom app and Boostra installs tracking and imports orders for you.
Read article