Google Analytics 4 (GA4) helps you understand how visitors find and interact with your website. A correct setup is essential for tracking traffic, user behavior, leads, conversions, and other important website activity.
Here is a simple step-by-step guide to setting up GA4.
1. Create a Google Analytics Account
Go to Google Analytics and sign in with your Google account.
If you are new to Analytics:
- Click Start Measuring.
- Enter your Account Name.
- Review the data sharing settings.
- Click Next.
If you already have an Analytics account, you can create a new property inside the existing account.
2. Create a GA4 Property
Enter your website or business name as the property name.
Then select:
- Reporting time zone
- Currency
- Industry category
- Business size
- Business objectives
Click Create and accept the required terms.
3. Create a Web Data Stream
From the property setup screen:
- Select Web.
- Enter your website URL.
- Add a stream name.
- Keep Enhanced Measurement enabled.
- Click Create Stream.
Enhanced Measurement can automatically collect useful interactions such as page views and other events.
4. Install the Google Tag
After creating the web stream, Google provides a Google tag ID, usually beginning with G.
You can install it in three common ways:
- Add the Google tag through your website CMS.
- Install the tag manually in your website code.
- Use Google Tag Manager.
For manual installation, Google recommends placing the complete Google tag immediately after the opening <head> element on every page.
5. Verify GA4 Tracking
After installation, open your website in a new browser tab and return to GA4.
You should see activity from your visit. Google notes that data collection can take up to approximately 30 minutes to begin.
6. Configure Important Settings
Once tracking works, configure:
- Key events for important actions such as form submissions, purchases, or calls.
- Google Ads linking if you run paid campaigns.
- Search Console linking for organic search analysis.
- Internal traffic filters to prevent your own visits from affecting reports.
- User access and permissions for your team.
Final Checklist
Before considering your GA4 setup complete, confirm that your property, web stream, Google tag, events, key events, and integrations are working correctly.
For additional technical guidance, use the Google Analytics Help Center and Google Analytics setup guide.