Free check

Found Universal Analytics code on your store?

Universal Analytics code on your store no longer collects anything useful: Google stopped processing standard UA data on 1 July 2023. The code is usually harmless but untidy. The real question is whether Google Analytics 4 (GA4) is installed separately and working, because some stores only ever had UA.

Request a diagnostic

Symptom

A tag checker reports a UA- ID, analytics.js or a Universal Analytics tag in Google Tag Manager. Or you find an old Google Analytics account with a property that stopped showing new data in mid-2023.

Possible causes

How to check

  1. Search the theme. Look for UA-, analytics.js, ga('create' and gtag('config'. Note whether a GA4 G- ID sits in the same block.
  2. Check GTM. Open the live container version and look for tags of type Universal Analytics, and for variables holding a UA- ID. Note whether each tag is paused or active.
  3. Check Shopify order status scripts. In Settings, Checkout, look for any remaining additional scripts, and check whether your Thank you and Order status pages have been upgraded. Then look in Settings, Customer events for the pixels that now handle checkout.
  4. Watch the network. In DevTools, Network, filter on collect. UA requests use /collect with v=1 and a tid=UA-...; GA4 requests use /g/collect with v=2 and tid=G-....
  5. Confirm GA4 exists separately. Find a GA4 request with your own G- ID, and check that it arrives in GA4 Realtime. If there is no GA4 request, you are dealing with cause E.

Illustrative example of cause B, with invented IDs:

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-1234567-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-1234567-1');
  gtag('config', 'G-AB12CD34EF');
</script>

Here the right fix is to remove only the UA config line and point the loader at the GA4 ID, not to delete the whole block.

What the result means

False positive. A UA ID can sit in a settings variable or a comment with no tag that uses it. A text search finds it, but nothing is sent. Our public check counts UA only when a loader or a live UA tag is present, after we found exactly this case while building it. Paused GTM tags don't count either.

Our public research. On 14 November 2026, 46 of the 975 Shopify stores we checked still had a Universal Analytics setup detected. That shows migration hygiene, not lost sales: a public-page check can't confirm whether purchase tracking works.

How to fix it

  1. Make sure GA4 is installed and receiving data before removing anything.
  2. Remove UA snippets from the theme, keeping any GA4 config they share.
  3. Pause UA tags in GTM, publish, and delete them later once nothing has broken.
  4. On Shopify, move any purchase tracking still in legacy order status scripts to the current customer events approach. See Shopify GTM and checkout coverage.
  5. Update your cookie notice and privacy information so they no longer list a tool you don't use.

What not to do

When to request help

If UA and GA4 are tangled together, or you aren't sure GA4 is collecting purchases, a GA4 and GTM audit separates the legacy code from what is live and documents a safe clean-up.

Related guides:

Not sure what's wrong?

Send us your store address. Mikael will review the visible tracking signals and explain what can be checked from your public pages.

Get a free check

Sources and updated date

Last checked against official documentation: 18 November 2026.