Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. Measuring Without Breaking the Rules
Shopify & eCommerce

Measuring Without Breaking the Rules

Tracking and consent for online shops: auditing the scripts your store loads, consent obligations, incomplete measurement, server-side options and cleanup.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

Know what your store loads, get consent where it is required, and accept that consent-based measurement is incomplete. Design your reporting around that rather than pretending otherwise.

Know what is loading

Most stores carry more tracking than the owner realises: analytics, advertising pixels from campaigns that ended, app-injected scripts and embedded services that set their own cookies.

Open the browser network tab and list the external domains being contacted. It takes ten minutes and it is usually a longer list than expected.

  • Necessary cookies generally do not require consent
  • Analytics and advertising generally do, in many jurisdictions
  • Consent must be a genuine choice, recorded
  • Withdrawal must be as easy as giving it
  • Scripts must not fire before consent is given
The most common failure is a consent banner that appears while the tracking scripts have already loaded. The banner is decoration at that point.

Measurement is now incomplete

With consent requirements, browser restrictions and blocking, a meaningful proportion of visitors are not measured. That is the reality of current analytics and it is not a configuration error.

Design your reporting for directional accuracy rather than precision, and use total revenue against total spend as the sanity check on everything else.

Server-side alternatives

Server-side tracking improves data quality and does not remove the consent obligation. It is a technical improvement, not a legal workaround, and it should be described that way internally.

Privacy-focused analytics that avoid personal data can sometimes remove the consent requirement altogether, which is worth considering for a small store.

Remove what you do not use

  1. Advertising pixels from campaigns that have ended
  2. Analytics tools nobody looks at
  3. App scripts from uninstalled apps
  4. Embedded services with a lighter alternative

Each removal improves speed, simplifies consent and reduces your data-sharing footprint at once.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Do we need a consent banner?

Depends on jurisdiction and what you load. Privacy-focused analytics can sometimes remove the requirement entirely.

How much data do we lose to consent?

Varies widely — a meaningful proportion. Model the gap rather than assuming your reported numbers are complete.

Is server-side tracking a workaround?

No. It improves data quality; consent obligations still apply.

What should our privacy notice say?

What you collect, why, who receives it and how long you keep it. Written from an actual audit rather than generated.

Keep reading

More on Shopify & eCommerce

Shopify & eCommerce

Every App Is a Subscription and a Script

The real cost of Shopify apps: monthly fees, page weight and theme code left behind after uninstalling, plus how to audit them and which to keep.

Shopify & eCommerce

What Belongs on a Product Page

Shopify product pages that convert answer the questions shoppers would ask in a shop. The structure that works, why supplier copy hurts, and photography.

Start here

Not sure what your store is loading?

Ten minutes in the network tab answers it. Usually finds two things nobody remembers adding.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →