How do I set up GA4?
The Short Answer
To set up GA4, create a property in Google Analytics, add a web data stream, install the GA4 tag through Google Tag Manager, then mark your important events (like form submits and purchases) as key events. Finally, link GA4 to Google Ads so conversions flow into bidding.
GA4 replaced Universal Analytics in July 2023, so if you are starting fresh in 2026 there is only one version to learn. The setup itself is not hard, but a sloppy install is worse than no install: you end up making budget decisions on numbers that do not reflect reality. The goal of a good setup is simple. Every meaningful action on your site (a lead form, a sign-up, a purchase) should fire a clean event, and the events that matter to revenue should be marked as key events so you can see and optimize them.
Start at the account level. A GA4 account can hold multiple properties, and each property holds data streams. For most businesses you want one property per brand or domain, with a single web data stream for your site. If you also run an app, you add a separate stream for it and GA4 stitches the sessions together. When you create the web stream, GA4 gives you a Measurement ID that looks like G-XXXXXXX. That ID is what the tracking tag uses to send data to the right place.
Install the tag through Google Tag Manager rather than pasting code into your theme. GTM gives you a clean separation between your site and your tracking, so you can add, edit, and debug tags without touching developer code every time. Create a GA4 Configuration tag in GTM, drop in your Measurement ID, set it to fire on All Pages, and publish. Use GTM Preview mode and the GA4 DebugView to confirm page_view events arrive before you trust a single number.
Enhanced measurement is on by default and automatically tracks scrolls, outbound clicks, site search, and file downloads. That is convenient, but it is not the same as conversion tracking. The actions that drive your business (a quote request, a demo booking, a checkout) need their own events, either configured in GTM or sent from your site. Once those events exist, open Admin and mark the important ones as key events. Only key events feed Google Ads bidding and show up cleanly in your conversion reporting.
For DACH and EU sites, Consent Mode v2 is not optional. Without it, GA4 either loses consented data or collects data it should not, and Google Ads loses signal for bidding. Wire your consent banner to Google's consent signals so tags adjust behavior based on what the user agreed to. This keeps you DSGVO-compliant while still recovering modeled conversions from users who declined cookies. Get this wrong and your numbers and your legal exposure both suffer.
Once events and consent are clean, link GA4 to Google Ads under Admin. The link lets you import GA4 key events as Google Ads conversions and build remarketing audiences from GA4 segments. The deeper work (ecommerce items, purchase value, refunds, server-side tagging) is where most measurement mistakes hide. If your store needs item-level revenue and ROAS, follow the detailed ecommerce setup before you rely on the data.
Step by Step
-
Create a GA4 property
In Google Analytics, go to Admin, create an account if needed, then create a property. Set your time zone and currency correctly: getting currency wrong silently breaks every revenue and ROAS report later.
-
Add a web data stream
Inside the property, add a data stream for your website. Enter your URL and stream name. GA4 generates a Measurement ID (G-XXXXXXX) that you will use in your tag.
-
Install the tag via Google Tag Manager
In GTM, create a GA4 Configuration tag, paste in the Measurement ID, and set the trigger to All Pages. Publish the container, then load your site to confirm the tag fires.
-
Verify with DebugView
Use GTM Preview and GA4 DebugView to watch events arrive in real time. Confirm page_view fires on every page before trusting any report. Fix anything missing here, not after launch.
-
Configure conversion events
Create events for the actions that matter: form_submit, generate_lead, purchase, booking. Build them in GTM from clicks, form submissions, or dataLayer pushes, or send them from your site code.
-
Mark key events
In Admin, open Events and toggle the important ones to key events. Only key events feed Google Ads bidding and appear cleanly in conversion reports, so be selective and consistent.
-
Set up Consent Mode v2
Connect your cookie banner to Google's consent signals so tags respect user choices. This keeps GA4 DSGVO-compliant and lets Google model conversions from users who declined cookies.
-
Link GA4 to Google Ads
Under Admin, link your GA4 property to your Google Ads account. Import key events as conversions and build remarketing audiences so your ad bidding learns from real outcomes.
Checklist
- Property time zone and currency set correctly before any data flows in
- GA4 tag fires on every page (confirmed in DebugView)
- Conversion events created for every revenue-driving action
- Important events marked as key events in Admin
- Consent Mode v2 wired to your cookie banner
- GA4 linked to Google Ads with conversions imported
- Internal traffic and known bot traffic filtered out
- Data retention set to the maximum allowed period
Related Questions
Related Services
Frequently Asked Questions
-
Yes, standard GA4 is free for the vast majority of businesses. There is a paid GA4 360 tier for very high data volumes and enterprise needs, but most companies never hit those limits and run the free version indefinitely.
-
No, you can paste the GA4 tag directly into your site, but GTM is strongly recommended. It lets you manage tags, add conversion tracking, and debug without editing developer code every time you need a change.
-
Real-time and DebugView show events within seconds, which is how you verify the install. Standard reports populate within 24 to 48 hours, so do not panic if processed reports look empty on day one.
Want GA4 set up right the first time?
A clean GA4 install with Consent Mode v2 and proper conversion tracking takes us about a day and saves you months of bad data. Tell us about your site and we will scope the setup.