GA4 Setup Guide: How to Set Up Google Analytics 4 Properly, Step by Step
Set up Google Analytics 4 the right way: property and data stream, installing the tag, key events for leads, data retention, internal traffic and linking.

Quick answer
To set up Google Analytics 4, create an account and property, add a web data stream, install the Google tag on every page, and turn on enhanced measurement. Then do the steps most sites skip: mark enquiries, calls and WhatsApp clicks as key events, raise data retention to 14 months, filter out internal traffic, and link Search Console and Google Ads.
Most websites have Google Analytics installed. Far fewer have it set up well enough to answer the questions that matter: which marketing brings enquiries, which pages convert, and whether last month's campaign paid off. This GA4 setup guide takes you from an empty account to a property that tracks leads properly, in about an hour.
We use the same checklist on client sites and on our own.
Before you start
You will need:
- A Google account the business owns (not a personal account of a freelancer or employee)
- Access to edit your website, or to its platform settings
- A list of the actions that count as a lead for you: forms, calls, WhatsApp clicks, bookings, purchases
Step 1: Create the account and property
- Go to analytics.google.com and choose Start measuring.
- Account name: your company name. One account per business.
- Property name: your website, for example "thecoralflow.com".
- Reporting time zone: India (GMT+05:30). Currency: Indian rupee. These affect how days and revenue are reported, so set them correctly now.
- Fill in your industry and business size, and choose the objectives that fit, such as generating leads.
- Accept the terms.
Step 2: Add a web data stream
- Choose Web as the platform.
- Enter your website address and a stream name.
- Leave Enhanced measurement switched on. It automatically tracks page views, scrolls, outbound clicks, site search, video engagement, file downloads and some form interactions.
- Create the stream and copy your Measurement ID, which starts with
G-.
Step 3: Install the Google tag
Pick the method that matches your website.
| Website | Easiest way to install |
|---|---|
| WordPress | Google's Site Kit plugin, or paste the Measurement ID into your SEO or analytics plugin |
| Shopify | The Google and YouTube app, which connects GA4 to your store |
| Wix, Squarespace | The marketing integrations section in site settings |
| Custom site (Next.js, React, plain HTML) | Add the Google tag script to the site's head, or load it through Google Tag Manager |
| Many marketing tags to manage | Google Tag Manager, with a Google tag configured with your Measurement ID |
Install the tag once only. Two installs (for example a plugin plus a hard-coded script) double count every visit.
Check it works: open your site in another browser tab, then open Reports, then Realtime in GA4. You should see yourself within a minute.
Step 4: Track the actions that matter as key events
This is the step that turns GA4 from a visitor counter into a lead tracker.
Forms
The best approach is a thank-you page or a custom event when a form is successfully submitted.
- With a thank-you page: create an event in Admin, then Events, then Create event, triggered when
page_viewhappens on the thank-you page URL. Name itgenerate_lead. - Without a thank-you page: send a
generate_leadevent from your form's success handler, or set it up in Google Tag Manager with a form submission trigger.
Calls and WhatsApp clicks
Track clicks on tel: links and WhatsApp links as their own events, for example contact_click with a parameter for the method. Most tag manager setups do this with a click trigger on links whose URL starts with tel: or contains wa.me.
Mark them as key events
- Go to Admin, then Data display, then Events.
- Find each event once it has been received at least once (send a test submission).
- Switch on Mark as key event.
Google renamed conversions to key events in GA4. In Google Ads, the same actions are still called conversions.
Step 5: Change the default settings that hurt you
Data retention
GA4 keeps detailed user-level data for only two months by default, which limits explorations. Go to Admin, then Data collection and modification, then Data retention, and set Event data retention to 14 months.
Internal traffic
Your own team visits the site constantly. Filter it out:
- In your data stream, open Configure tag settings, then Define internal traffic, and add your office IP address.
- In Admin, then Data filters, set the Internal Traffic filter to Active once you have checked it in testing mode.
Unwanted referrals
If visitors leave your site for a payment gateway (Razorpay, PayU, Stripe) and come back, GA4 may credit the sale to the gateway. In Configure tag settings, then List unwanted referrals, add the gateway domains.
Step 6: Link Search Console and Google Ads
- Search Console: in Admin, then Product links, then Search Console links, link your verified property. You will see the search queries that bring visitors next to what they do on the site. Our Google Search Console guide covers setup.
- Google Ads: link your Ads account under Product links too, so you can import key events as conversions and build audiences. Our guide to Google Ads conversion tracking explains the next step.
Step 7: Tag your campaigns
GA4 can only report what it can see. Links in emails, WhatsApp broadcasts, social posts and partner websites need UTM tags, or the visits get lumped into Direct or Referral. Our UTM parameters guide includes a naming sheet you can copy.
Step 8: Know which reports to open
You do not need most of GA4's menus. For a small or medium business, these answer 90% of questions:
| Question | Report |
|---|---|
| Where do visitors come from? | Reports, Acquisition, Traffic acquisition |
| Which channels bring leads? | Traffic acquisition, with the key events column |
| Which pages do people land on? | Reports, Engagement, Landing page |
| Which pages lead to enquiries? | Explore, Free form, with page and key events |
| Is AI search sending visits? | A custom channel group; see tracking AI traffic in GA4 |
Our guide to digital marketing KPIs explains which numbers to put on your monthly report.
Step 9: Plan for consent
Privacy rules are tightening. India's Digital Personal Data Protection Rules were notified in November 2025, with consent and notice duties coming into force in phases up to 2027. If you serve visitors in the EU or UK, consent for analytics cookies is already required there.
A consent banner with Google's Consent Mode lets your tags respect each visitor's choice while still giving you modelled data. Set it up with your developer, and take legal advice on what your business needs.
A GA4 setup checklist
- Account owned by the business, correct time zone and currency
- One web data stream, enhanced measurement on
- Google tag installed once, confirmed in Realtime
- Form submissions, calls and WhatsApp clicks tracked and marked as key events
- Data retention set to 14 months
- Internal traffic and payment gateway referrals filtered
- Search Console and Google Ads linked
- UTM tags on every campaign link
- Consent plan in place
Analytics is the foundation of every marketing decision we make for clients. If you would like your tracking set up and audited by people who use it every day, see our performance marketing service, and read how to measure marketing ROI to turn the data into decisions.
Work with us
Performance Marketing from The Coral Flow
Get a free ad account audit. Give us view access. We review your campaigns, tracking and creatives and send the leaks costing you the most.
Frequently asked questions
Is Google Analytics 4 free?
Yes. The standard version of GA4 is free and more than enough for small and medium businesses. A paid enterprise version, Analytics 360, exists for very large sites.
What is a key event in GA4?
A key event is an action you mark as important, such as a form submission, a call click or a purchase. Google renamed conversions to key events in GA4 in 2024; in Google Ads they are still called conversions.
How long does GA4 take to show data?
The Realtime report shows visits within seconds. Standard reports can take 24 to 48 hours to fill in for a new property.
Should I install GA4 with Google Tag Manager or directly?
For a simple site, installing the Google tag directly or through your platform's integration is fine. Use Google Tag Manager if you will track many custom events, run several marketing tags, or want changes without editing site code.
Do I need a cookie banner for GA4 in India?
India's Digital Personal Data Protection Rules, notified in November 2025, bring in consent and notice duties in phases through 2027. If you have visitors from the EU or UK, consent is already required there. Plan a consent setup now and take legal advice for your situation.
Written by
Parves, Founder and Creative Director
Leads strategy and creative direction at The Coral Flow in Chennai, across web, search and content for brands in India and abroad.

