Published on: January 18, 2025
Published by Marty Paukstys, founder of D2CEBL. 20+ years of Google PPC & Analytics experience. Google Ads Search and Google Analytics certified.
1. Set Up GA4 Property in Google Analytics
- Go to Google Analytics.
- Click on Admin (gear icon in the bottom-left corner).
- Under Account, select your account or create a new one.
- Under Property, click Create Property and choose Google Analytics 4.
- Follow the setup prompts, inputting basic details like:
- Property name
- Reporting time zone
- Currency
- Click Next and complete the process.
2. Get the Measurement ID from GA4
- In your newly created GA4 property, navigate to Admin > Data Streams.
- Click on the data stream for your website (or create a new one if not done yet).
- Copy the Measurement ID (e.g., G-XXXXXXX) shown at the top-right of the data stream settings.
3. Access Google Tag Manager (GTM)
- Log in to Google Tag Manager.
- Select the container linked to the website where GA4 will be implemented.
4. Create a GA4 Configuration Tag
- In GTM, click Tags from the left-side menu.
- Click the New button to create a new tag.
- Click on Tag Configuration, then select Google Analytics > Google Tag.
- Paste the Measurement ID you copied earlier into the field (TAG ID = Measurement ID).
- Optional: Configure advanced settings like event deduplication or user properties if needed.
5. Preview and Test the Setup
- Click the Preview button in GTM to test your setup.
- Enter your website's URL in the preview mode pop-up and start the debugging session.
- Navigate your website and check if the GA4 tag fires properly in the GTM Tag Assistant debugger.
6. Publish the GTM Container
- After testing, go back to GTM and click Submit.
- Add a version name and description for the changes (e.g., "GA4 Installation").
- Click Publish to deploy the tag live.
7. Verify Data in Google Analytics
- Go to your GA4 property and navigate to Reports > Realtime.
- Visit your website and ensure data appears in the realtime report.