
Google Analytics 4 is free and powerful, but a careless setup produces numbers nobody trusts: double-counted sales, missing leads and traffic labelled "unassigned". Setting it up through Google Tag Manager keeps your tracking organised and easy to change without editing your website's code.
Follow these steps in order. A small business site can be done in a day; an online store or app takes longer.
Before you start
- Make a short list of the actions that matter: form submissions, calls, bookings, sign-ups, purchases.
- Decide on clear event names, using lowercase and underscores, such as generate_lead or book_appointment.
- Check whether your website platform has its own GA4 integration, so you don't end up with two installs.
- Find out which privacy laws apply to your visitors.
Step 1: Create the GA4 property
- In Google Analytics, create a new property with your business time zone and currency.
- Add a web data stream for your domain.
- Keep enhanced measurement on for page views, scrolls, outbound clicks, site search, video and file downloads, then review each one.
- Set data retention to the longest period available.
- Add internal traffic rules for your office IP addresses if needed.
Step 2: Create the Tag Manager container
- Create a Tag Manager account and a web container for your site.
- Install the two container snippets on every page, or use your platform's integration.
- Give at least two people from your business admin access.
Step 3: Add the Google tag
- In Tag Manager, add a Google tag with your GA4 measurement ID, firing on all pages.
- Remove any GA4 code that was added directly to your website or through a plugin.
- Publish a version with a clear name, such as "GA4 base tag".
Step 4: Set up consent mode
- Add a consent management platform that supports Google consent mode.
- Set default consent states for each region based on the law there.
- Make sure tags wait for consent where required.
- Test the banner in each region you serve.
Step 5: Track key events
| Action | Suggested event | How to track |
|---|---|---|
| Contact form | generate_lead | Form submission trigger or thank-you page |
| Phone click | click_to_call | Click on tel: links |
| WhatsApp click | click_whatsapp | Click on WhatsApp links |
| Booking | book_appointment | Booking confirmation |
| Sign-up | sign_up | Account creation |
Then mark only the most important events as key events in GA4.
Step 6: Ecommerce tracking
- Send the standard ecommerce events: view_item, add_to_cart, begin_checkout, purchase.
- Include transaction ID, value, currency and items with every purchase.
- Use your platform's official integration or a well-supported data layer where possible.
- Check purchases in GA4 against your store's order records.
Step 7: Test everything
- Use Tag Manager preview mode to check each tag fires once, at the right time.
- Watch events arrive in GA4 DebugView.
- Test on mobile and desktop, and with consent accepted and declined.
- Compare a week of key events against your CRM or store records.
Step 8: Connect your tools
- Link Google Ads, and import GA4 key events if you don't already track conversions in Ads.
- Link Search Console to see organic search queries.
- Link Merchant Center for online stores.
- Connect BigQuery if you need raw data.
Step 9: Build useful reports
- A simple overview: users, key events and conversion rate by channel.
- A landing page report showing which pages generate leads or sales.
- A campaign report using consistent UTM tags.
- A Looker Studio dashboard for your team, if you need one.
How this works worldwide
The setup steps are the same everywhere; consent settings change with the law. Europe and the UK require opt-in consent for analytics and ad cookies. Several US states require opt-out options. Canada, the Gulf states, Australia and others have their own data protection laws. Set consent defaults by region and test each one.
Common GA4 setup mistakes
- Installing GA4 twice: once in code and once in Tag Manager.
- Marking page views or scrolls as key events.
- Not setting a currency or transaction ID for purchases.
- Inconsistent UTM tags splitting one campaign into many.
- Never comparing GA4 numbers with real sales or leads.
Frequently Asked Questions
Do I need Google Tag Manager to use GA4?
No, but it makes adding and changing tracking much easier without touching your website code.
Why don't GA4 numbers match my sales system?
Consent choices, ad blockers, duplicate tags and attribution differences all cause gaps. Small gaps are normal; large ones usually mean a setup error.
How long does GA4 keep data?
Detailed exploration data is kept for the retention period you choose. Standard reports keep aggregated data longer.
Should I use server-side tagging?
It can improve data quality and control, but adds cost and complexity. Start with a clean client-side setup first.
Sources & References
Written by Farzeen Rasheed
Ready to improve your marketing results?
Book a free strategy call - we'll audit your current setup and identify the highest-impact fixes.



