Skip to main content
All CollectionsWebsites & Publishing Site Optimisation & SEO
How do I set up Google Analytics for my Gamma site?

How do I set up Google Analytics for my Gamma site?

How to connect Google Analytics to your site using Google Tag Manager, track performance, and optimize your insights with a GTM integration.

Gamma Team avatar
Written by Gamma Team
Updated today

Introduction

Gamma allows you to integrate with third-party analytics tools like Google Analytics via Google Tag Manager. This setup gives you visibility into site traffic and user behaviour across your gamma pages, so you can better understand what’s working and optimize your site accordingly.

What is Google Analytics Integration in Gamma?

Google Analytics (GA) lets you collect data about how visitors interact with your site. In Gamma, you connect GA using Google Tag Manager (GTM), which acts as the middle layer to deploy tracking tags on your site.

You’ll need to:

  • Create a Google Analytics account.

  • Set up a GTM container.

  • Add your GTM tag ID to Gamma’s site settings.

How to Set Up Google Analytics in Gamma

Step 1: Create a Google Analytics Account

  1. Go to Google Analytics and sign in or create an account.

  2. Create a new property (website) and follow the prompts.

  3. Copy the Measurement ID (this starts with G-XXXXXXX)

Pro Tip: This ID is used inside Google Tag Manager - not in Gamma directly.

Step 2: Set Up Google Tag Manager

  1. Create a new container for your Gamma site.

  2. After the container is created, click “Add a new tag”.

Step 3: Create the Google Analytics Tag

  1. Name your tag (e.g., “GA4 Site Tag”).

  2. Choose “Google Analytics: GA4 Configuration” as the tag type.

  3. Paste your Measurement ID (from Step 1).

  4. Under Triggering, select All Pages.

  5. Click Save and Publish your tag

Step 4: Find Your GTM ID

  1. After publishing, locate your GTM ID (starts with GTM-XXXX).

    • This is not the same as your Measurement ID.

  2. Copy the GTM ID—you’ll need this for Gamma.

Pro Tip: Your GTM ID is found in the top-right corner of your GTM dashboard.

Step 5: Add the GTM ID to Your Gamma Site

  1. Open the gamma site you want to track.

  2. Click the three dots (…) in the upper right corner and choose Site Settings.

  3. Go to the Settings tab and scroll to the bottom.

  4. Paste your GTM ID into the “Google Tag Manager ID” field.

  5. Click Save.

  6. Publish your site to activate the integration.

FAQs & Common Issues

Why isn’t my Google Analytics data showing up yet?

  • It can take several hours for data to appear in GA4.

  • Make sure the GTM ID is correct and published.

  • Check that your GTM tag is configured to fire on all pages.

Can I use other analytics tools like Meta Pixel?

  • Yes! You can follow a similar setup through GTM by choosing the appropriate tag type for Facebook/Meta Pixel or other third-party tracking platforms.

What’s the difference between the Measurement ID and the GTM ID?

  • Measurement ID (starts with G-) is used inside Google Tag Manager.

  • GTM ID (starts with GTM-) is added to Gamma to enable site tracking.

Did this answer your question?