Skip to content
House of Marka
AppsServicesMarketplacesWorkInsightsCompanyStart a project
Compliance & Trust5 min readBy

How Cookie Consent Affects Shopify Analytics, and How to Read the Gap

Visitors who decline cookies are not tracked, so Shopify visit and funnel figures are a sample. Which reports stay complete and how to read the rest.

When a visitor declines analytics in your cookie banner, a consent-respecting tracking pixel records nothing about that visit. Your visit, traffic and funnel figures therefore describe only the visitors who agreed, while every report built from orders stays complete. This guide explains what happens when someone declines, which reports are affected, how to read the affected ones as ratios instead of totals, and why the gap should not be 'fixed' by ignoring the choice.

What happens when a visitor declines?

The pixel stays silent for that visitor. In the EU and UK, analytics that identify a visitor need the visitor's agreement, and Shopify's customer privacy settings pass each visitor's choice to the tracking pixels on the store. A pixel that respects the setting does not record page views, clicks or checkout steps for someone who said no.

The visitor can still browse and buy. Nothing about declining prevents an order, so the purchase reaches Shopify as usual. What is missing is the trail that led to it. The rules differ from market to market, so check what applies where you sell and set the banner up accordingly.

Which reports are affected, and which are not?

Anything that counts visits is affected. Anything that counts orders is not.

A sample of visitors who agreed:

  • sessions and visitor counts;
  • traffic sources and campaign results;
  • landing pages and page-by-page drop-off;
  • the purchase funnel and checkout steps;
  • device and browser breakdowns;
  • on-site searches;
  • attribution paths.

Complete, because they come from order records:

  • sales, by product, channel, location or payment method;
  • customer counts, repeat purchase and lifetime value;
  • refunds and returns;
  • profit;
  • tax collected.

Why not scale the numbers up?

Because the visitors who decline are not a random slice of your traffic. Once you have an idea of what share of visitors decline, it is tempting to multiply every visit figure to compensate. That only works if the missing visitors behave like the ones you can see, and there are reasons to doubt it.

  • Region. If your banner asks for consent only in some markets, visitors there are under-counted and visitors elsewhere are counted in full. A country comparison by sessions is skewed before you start.
  • Device and browser. A banner takes up a different amount of the screen on a phone than on a desktop, and people may respond to it differently.
  • Familiarity. A returning customer and a first-time visitor may not make the same choice.

So the sample is not only smaller than reality; its mix is different too. Keep it as a sample and ask it the questions it can answer.

How do you read ratios instead of totals?

Keep both halves of every ratio inside the same group of visitors. A funnel does this naturally: of the tracked sessions that reached the cart, what share reached checkout. Top and bottom come from the same people, so the rate is sound even though the counts are short.

The mistake is mixing sources. Take an example. Say a store has 10,000 tracked sessions in a month and 300 orders in Shopify, of which 220 can be matched to a tracked session.

  • Dividing all 300 orders by 10,000 tracked sessions gives 3.0%. That overstates conversion, because 80 of those orders came from visits that are not in the 10,000.
  • Dividing the 220 matched orders by 10,000 gives 2.2%, which is the consistent figure for the visitors you can see.

The same numbers give you a useful extra measure: 220 of 300 orders, or about 73%, were seen by the tracking. That coverage rate tells you how much of your buying traffic the visit reports describe. Our guide to how Shopify calculates conversion rate covers the standard calculation in more detail.

Can you still compare one month with another?

Yes, as long as the sample is collected the same way in both. Trends hold up well when the share of visitors who consent is steady: if tracked checkout completion falls from one month to the next, something probably changed for all shoppers, not only the tracked ones.

The risk is a change in the sample itself. Redesign the banner, change its wording or extend it to new countries, and the number of tracked visitors moves without any change in real traffic. Write down the date of every banner change and treat comparisons across that date with care.

Why should you not ignore consent to fill the gap?

Because the gap is the visitor's decision, and working around it is neither good practice nor good business. There are scripts and services that promise to count everybody. Any tool that claims to see every visitor is doing one of two things: tracking people who refused, or estimating and presenting the estimate as a count. The first puts you on the wrong side of the rules in markets that require consent, and of your own customers. The second gives you a number you cannot check.

What you can do legitimately is make the banner clear, quick and honest, so that people who are happy to be counted are not put off by a confusing choice. Do not design it to steer them.

It is worth asking the same question of every analytics tool you install. Marka Metrics records store visits through a Shopify web pixel that only records visitors who allow analytics, so its visit and funnel figures are lower than total traffic, while its sales, product, customer and profit reports come from Shopify orders and are not affected.

A short checklist

  1. Sort your reports into two lists: built from visits, and built from orders.
  2. Use order-based reports for every total that involves money.
  3. Read visit-based reports as rates and trends within a sample.
  4. Never divide all orders by tracked sessions.
  5. Track the share of orders your tracking saw, and watch it for sudden changes.
  6. Log every change to the cookie banner with its date.
  7. Avoid tools that claim to count visitors who declined.

The consent gap is one of several reasons two dashboards disagree; our guide to Shopify analytics beyond the built-in reports covers the others, and why Shopify and Google Analytics numbers do not match deals with one common pairing. For a dashboard that builds its sales reports from orders and its visit reports only from visitors who agreed, see Marka Metrics.

Work with us

House of Marka is the applied-AI and commerce engineering studio of Marka Modern Retail Private Limited. We research, advise and then build — for merchants and enterprises in the US, UK and Europe.