Introduction
Setting up GA4 ecommerce tracking lets you understand how people interact with your online store from product views to purchase. This guide is for UK ecommerce and lead generation business owners or marketers. After reading, you'll be able to configure GA4's ecommerce tracking, track product impressions and clicks, set up purchase events correctly, link GA4 with Google Ads, and use ecommerce reports to improve your marketing decisions.
What is GA4 ecommerce tracking setup?
GA4 stands for Google Analytics 4, the latest Google Analytics version. Ecommerce tracking records actions customers take on your site, like viewing products or completing purchases. Setting it up in GA4 means you can monitor sales funnels and marketing effectiveness.
Start by enabling enhanced ecommerce settings in GA4. This unlocks detailed reports and events tailored to online sales. You’ll send your website data with ecommerce-specific parameters to GA4 either via Google Tag Manager or your website's code. Good setup improves your decision-making and ad targeting.
How to track product impressions and clicks in GA4?
Track product impressions and clicks by sending data through ecommerce events. Impressions mean products shown on a page, while clicks are when a user clicks to get more details.
Steps to track product impressions:
- Add the 'view_item_list' event to the pages showing product lists.
- Include product details like ID, name, category, price, and position.
- Implement this in Google Tag Manager or directly in your site's code.
Steps to track product clicks:
- Use the 'select_item' event triggered when someone clicks a product link.
- Again, include product details inside the event parameters.
Each event captures user interest and behaviour, helping you understand what items attract attention and clicks.
How to configure purchase events in GA4?
Purchase events confirm sales and track revenue. They are vital for calculating return on ad spend.
Setting up purchase events:
- Send the 'purchase' event on the order confirmation or thank-you page.
- Include transaction details like transaction_id, value (total sale), currency, tax, shipping, and an array of purchased items with each product's ID, name, quantity, and price.
- Validate event parameters with GA4 DebugView to check data accuracy.
A correctly set purchase event lets GA4 report accurate sales data and associate revenue to your ads.
How to link GA4 with Google Ads?
Linking GA4 to Google Ads connects your sales and traffic data to ad campaigns, allowing better optimisation.
How to link:
- Sign in to Google Ads, go to 'Tools & Settings' > 'Linked accounts.'
- Select 'Google Analytics (GA4)' from the list.
- Pick the GA4 property you want to link.
- Follow the prompts to complete linking.
- Import conversions (purchase and other events) from GA4 into Google Ads.
This setup lets Google Ads use your real conversion data for bidding and reporting.
How to use enhanced ecommerce reports in GA4?
Enhanced ecommerce reports in GA4 help you see product performance, shopping behaviour, checkout steps, and sales.
Find these under the "Monetisation" section in GA4:
- Ecommerce purchases: total revenue and transaction count.
- Shopping behaviour: how many viewed products vs. added to cart.
- Checkout behaviour: where users drop out of purchase steps.
Review these reports weekly to spot underperforming products or potential website issues.
Common GA4 ecommerce setup mistakes
Many businesses face these mistakes:
- Not enabling enhanced ecommerce in GA4: you'll miss detailed data.
- Incorrect or missing event parameters, such as product IDs or transaction values, leading to inaccurate reports.
- Forgetting to link GA4 with Google Ads, which disconnects ad and sales data.
- Improper event triggers, e.g., sending purchase event prematurely or multiple times.
- Not validating data via GA4 DebugView or real-time reports.
Avoid these to keep your data clean and actionable.
Worked example: GA4 ecommerce tracking for a UK online candle shop
A candle store tracks product impressions and clicks for 30 different candles on a category page.
- Impressions: The 'view_item_list' event fires with product details for all 30 candles.
- Clicks: Each candle click triggers 'select_item' with product info.
- Purchases: On checkout, 'purchase' sends transaction_id "TX12345", value £150, 2 candles bought (1x £50 candle, 1x £100 candle).
Reviewing reports shows which candles attract clicks but don't convert, prompting targeted ad and website tweaks.
What to do next
- Enable enhanced ecommerce in your GA4 property settings.
- Use Google Tag Manager to implement 'view_item_list', 'select_item', and 'purchase' events with product details.
- Link GA4 with Google Ads through Google Ads interface to import conversions.
- Regularly check enhanced ecommerce reports for insights and validate your data using GA4 DebugView.
You can also try the free site speed checker and revenue loss calculator to improve your ecommerce site. For further help, get in touch with me.

