Google Analytics 4 (GA4) is the free analytics tool most UK online stores use to see where visitors come from, what they do and which channels bring sales. It is also easy to set up badly. Missing purchase data, double-counted orders and a cookie banner that blocks everything are common problems we find. This guide shows UK ecommerce brands how to set up GA4 properly, stay inside UK cookie law, and read the reports that matter. If you would rather have the tracking and the fixes done for you, our conversion rate optimisation agency page explains how we work.

Platform details below come from Google, Shopify and the ICO, checked in November 2026. Google moves GA4 menus often.

Quick Answer

To use Google Analytics 4 well, create one GA4 property with a web data stream for your shop, send the recommended ecommerce events (above all a purchase event with a unique transaction ID, value and currency), mark your most important actions as key events, set data retention to 14 months, and connect a cookie banner through Google consent mode. Then use four reports: traffic acquisition, landing pages, ecommerce purchases and a checkout funnel.

Not sure your GA4 numbers are right?

Send us read access. We will check your purchase tracking against your real orders and tell you what is wrong.

Get a free tracking check

What Is Google Analytics 4 and How Does It Work?

GA4 records everything as an event. A page view is an event. Adding to basket is an event. A purchase is an event with extra details attached, such as order value and the products bought. This is different from the old Universal Analytics, which Google replaced with GA4 in July 2023, as Shopify's migration guide notes.

LevelWhat it isWhat a UK store usually needs
AccountThe top level, normally one per businessOne account in the business's name, not the agency's
PropertyWhere reports, key events and settings liveOne property for the shop (and its app, if it has one)
Data streamThe source of data: a website or an appOne web data stream for the shop domain

Keep the account in the business's name and give agencies user access, so you never lose your data when you change supplier.

How to Set Up a GA4 Property and Data Stream

Follow these steps:

  1. Create the account and property. In Google Analytics, go to Admin and create a property. Set the reporting time zone to United Kingdom and the currency to British pound sterling, so your daily figures and revenue match your shop.
  2. Add a web data stream. Enter your shop domain. GA4 gives you a measurement ID that starts with G-. You need it for the next step.
  3. Keep enhanced measurement on. It records page views, scrolls, outbound clicks, site search, video engagement and file downloads without extra code.
  4. Install the tag. Use your platform's official integration (see the Shopify and WordPress section below) or Google Tag Manager. Use one method only.
  5. Set data retention to 14 months. Standard properties can keep user-level and event data for 2 or 14 months. Google's data retention help page says this setting only affects explorations and funnel reports, not standard reports. Two months is too short to compare this Christmas with last.
  6. Filter internal traffic. Define your office and warehouse IP addresses as internal traffic, then turn the filter on, so staff visits do not inflate your numbers.
  7. List unwanted referrals. If customers leave your site to pay (for example through PayPal or a Klarna page) and come back, add those domains to the unwanted referrals list in the data stream's tag settings. Otherwise the payment provider gets credit for your sales.
  8. Link Google Ads and Search Console. This lets you import key events into Google Ads and see organic search queries in GA4.

Check the data on day one

Open the Realtime report, visit your shop on your phone, add a product to the basket and look for the events. Standard reports take about 24 hours to fill.

Key Events: What GA4 Now Calls Conversions

In GA4, a conversion is called a key event. Google's key events help page describes it as an event that measures an action that is particularly important to your business. The name "conversion" is now used for Google Ads conversions, which you can create from a GA4 key event.

To mark an event as a key event, go to Admin, then Events under Data display, and click the star next to the event. According to Google's guide to marking key events, a standard property can have up to 30 key events, and you can mark a new event as a key event before GA4 has received it.

Most online stores need only a handful:

EventMark as key event?Why
purchaseYesYour main sales measure
generate_lead (trade or wholesale enquiry)Yes, if you take enquiriesB2B orders often start with a form
sign_up (newsletter or account)Yes, with a low valueEmail list growth feeds future sales
begin_checkoutUsually noBetter used in a funnel than as a goal
add_to_cartNoCounting it as a conversion makes ad platforms chase browsers

A common mistake: marking page views, scrolls and add-to-baskets as key events. Your key event rate looks great, but if you import them into Google Ads, smart bidding optimises towards cheap actions instead of sales. Our Google Ads guide explains why the conversion you bid on matters so much.

Ecommerce Events: The Data That Shows Sales

Ecommerce reporting in GA4 depends on a set of recommended events sent in the format Google expects. The main ones follow the shopping journey:

EventWhen it firesWhat it lets you see
view_item_listA collection or category page loadsWhich lists get product views
view_itemA product page loadsProduct views by item
add_to_cartA product goes into the basketAdd-to-basket rate by product
begin_checkoutCheckout startsBasket-to-checkout drop-off
add_shipping_info / add_payment_infoShipping or payment step completedWhere checkout loses people
purchaseOrder confirmedRevenue, orders and items sold
refundAn order is refundedNet revenue after returns

The purchase event is the one that must be right. Google's purchase event guide shows it sent with a transaction ID, value, currency and an items array that lists each product. For a UK shop the currency should be GBP.

The transaction ID deserves special care. Google's ecommerce measurement page says GA4 deduplicates purchases that share a transaction ID on web streams. It also warns against sending an empty ID, because all purchases with an empty ID are treated as duplicates, and against reusing a fixed ID, which can badly undercount sales. Use your real order number.

The ten-minute sales check

Pick last week. Compare orders and revenue in GA4's ecommerce purchases report with your shop's own order report. A small gap is normal, because some customers decline cookies or block scripts. A large gap, or GA4 showing more orders than you had, means the tracking needs fixing.

Many UK stores get this wrong in one of two ways: tags fire before anyone agrees, or everything is blocked and GA4 shows half the sales.

What UK law says about analytics cookies

Cookies and similar technologies are covered by PECR (the Privacy and Electronic Communications Regulations), alongside UK GDPR for any personal data. The Data (Use and Access) Act 2025 added new exceptions to PECR's consent rule, which took effect on 5 February 2026, as this law firm summary explains (secondary source).

One exception covers statistical purposes. The ICO's guidance on the exceptions says you can rely on it only when:

  • the sole purpose is collecting statistics about how your site is used, so you can improve it;
  • the information is aggregated and you do not track or monitor individual visitors;
  • you give clear information and a simple, free way to object;
  • any third-party analytics provider acts only as your processor and does not use the data for its own purposes.

The ICO says the exception does not cover advertising: linking analytics data to ad clicks or sharing conversions with ad partners still needs consent. Many ecommerce GA4 setups do exactly that. Whether your setup fits the exception depends on how it is configured, so take advice before you drop consent for GA4. For most stores that run Google Ads, asking for consent remains the safe position.

What consent mode does

Google consent mode passes your visitor's cookie choice to Google tags. Google's consent mode overview lists the consent types, including four that matter most for ecommerce:

Consent typeWhat it controls
analytics_storageCookies used for analytics, such as visit duration
ad_storageCookies used for advertising
ad_user_dataSending user data to Google for advertising
ad_personalizationPersonalised advertising, such as remarketing

The last two were added in the update usually called consent mode v2. There are two ways to run it:

Basic consent mode: Google tags do not load until the visitor accepts. If they decline, nothing is sent. Google's consent mode help page says behavioural modelling in GA4 is not available in this setup.

Advanced consent mode: tags load with consent set to denied and send cookieless pings until the visitor accepts. Google uses these pings to model some of the missing data, once your site meets its data thresholds. Ask your legal adviser whether cookieless pings fit your reading of PECR.

Does Google require consent mode for UK traffic? Google's EU user consent policy help page says the policy covers users in the EEA, the UK and Switzerland, and that you must get consent before Google advertising tags fire where the law requires it. The requirement to send verified consent signals applies to EEA traffic; Google says advertisers are not expected to send them for UK or Swiss traffic. In practice, a UK shop that sells to Ireland or the EU needs consent mode working, and every UK shop benefits from it.

Your cookie banner checklist

Reject is as easy as accept. No tags fire before a choice, except where an exception clearly applies. The banner sends the choice to Google through consent mode. Visitors can change their mind later from a footer link. Your privacy policy names the tools you use.

How to Set Up GA4 on Shopify and WordPress

Shopify

Shopify's route is the Google & YouTube sales channel. You create the GA4 property and web data stream first, then install the channel and connect your Google tag, following the steps in Shopify's GA4 guide. The channel places the Google tag for you, so you do not need to edit theme code.

Shopify also has a built-in cookie banner. Its customer privacy settings guide says new stores with active UK or EEA markets get the banner configured automatically, and warns that it governs Shopify's own tools and pixels. If you add tags by hand or through other apps, you may need a third-party banner that connects to Shopify's Customer Privacy API.

Avoid double tagging: do not paste a GA4 snippet into theme.liquid as well as using the Google & YouTube channel. Every page view and purchase will be counted twice.

WordPress and WooCommerce

On WordPress, Google's own Site Kit plugin is the simplest way to add the GA4 tag. For WooCommerce stores, you also need the ecommerce events, which comes from WooCommerce's Google integration, a dedicated tracking plugin, or Google Tag Manager with a data layer. Pick one route, then test a real order. Your cookie banner plugin must support Google consent mode, or the consent choice will not reach your tags.

The GA4 Reports That Matter for UK Ecommerce

GA4 has dozens of reports. Most store owners need four, checked weekly:

ReportWhereQuestion it answers
Traffic acquisitionReports, AcquisitionWhich channels bring sessions, key events and revenue?
Landing pageReports, EngagementWhich entry pages turn visits into sales, and which waste traffic?
Ecommerce purchasesReports, MonetisationWhich products are viewed, added to basket and bought?
Checkout funnelExplore, Funnel explorationWhere do people drop out between product page and order?

Build the funnel yourself in Explore with these steps: view_item, add_to_cart, begin_checkout, add_payment_info, purchase. Break it down by device. A big drop at payment on mobile but not on desktop is a clear job for your developer. Our conversion rate optimisation guide shows how to turn these drop-offs into tests, and our post on how to reduce cart abandonment covers the checkout fixes.

GA4, Google Ads and Meta credit sales differently, so their totals will disagree. Use your shop's orders as the truth for revenue, and GA4 to compare channels on the same rules.

Common GA4 Mistakes on UK Online Stores

  • Currency left as US dollars. Revenue looks wrong and ad imports carry the wrong values.
  • Duplicate tags. A plugin and a hard-coded snippet both firing, so every event counts twice.
  • Purchases without a transaction ID, or with the same ID every time.
  • Payment providers showing as referral sources, because unwanted referrals were never listed.
  • Retention left at 2 months, so year-on-year explorations are impossible.
  • A cookie banner that does not talk to Google tags, so either nothing is measured or tags fire without consent.

Why UK Ecommerce Brands Choose Growth Pulse Media

Growth Pulse Media is a founder-led agency. Dirk van Greuning built and scaled an ecommerce business before starting it, and he runs every account himself. We start every engagement by checking tracking, because every decision about ads, SEO or your site depends on numbers you can trust. Our CRO audit starts from £1,000 and CRO retainers from £1,500 a month, with no lock-in contract.

Our conversion rate optimisation service covers GA4 and consent setup, funnel analysis and testing on Shopify and WordPress stores. The account and the data stay in your name.

Who This Is NOT For

Anyone wanting legal sign-off on cookies. We set up consent tools to match your policy, but your privacy position should come from a qualified adviser.

Shops looking for numbers that match the ad platforms exactly. GA4, Google Ads and Meta will always count differently. We make them consistent, not identical.

Frequently Asked Questions

Is Google Analytics 4 free

Yes. The standard version of Google Analytics 4 is free. Google sells a paid version, Analytics 360, for large organisations that need higher limits, longer data retention and service agreements. Most UK small and medium online stores never need it.

What is the difference between a key event and a conversion in GA4

A key event is an event in GA4 that measures an action important to your business, such as a purchase. A conversion is now the Google Ads term. You can create a Google Ads conversion from a GA4 key event, so both platforms count the same action.

Do I need cookie consent for Google Analytics in the UK

Since 5 February 2026, PECR allows analytics cookies without consent in narrow cases: statistics only, to improve your site, aggregated, with clear information and an easy way to object, and with no advertising use. Many ecommerce GA4 setups link to Google Ads or share conversions with ad partners, which still needs consent. Take advice on your own setup.

Why does GA4 show fewer sales than Shopify

The most common reasons are visitors who decline analytics cookies, ad blockers, missing or duplicated purchase events, and orders taken outside the online checkout. A small gap is normal. A large gap usually points to a tracking fault worth fixing.

How long does GA4 keep data

Standard GA4 properties can keep user-level and event data for 2 or 14 months. The setting affects explorations and funnel reports only; standard aggregated reports are not affected. Set it to 14 months so you can compare seasons.

Want GA4 you can actually trust?

We will check your tracking, consent setup and purchase data against your real orders, then tell you what to fix first.

Book your free tracking review

Dirk van Greuning — Founder, Growth Pulse Media
Dirk van Greuning Founder, Growth Pulse Media

Dirk has worked in digital marketing since 2016. He built and scaled an ecommerce business before starting Growth Pulse Media, and now runs SEO, Google Ads, Meta ads and email for ecommerce brands. Growth Pulse Media is a Shopify Partner and a Premium Omnisend Partner.

Connect on LinkedIn