How to add Google Analytics to your website

Google Analytics shows you who visits your pages, where they come from and what they do. Agentr.ee connects to Google Analytics 4 (GA4) with one Measurement ID. Use it when you want your Agentr.ee traffic in the same place as your other marketing reports.

Before you start

How to connect Google Analytics

  1. In the sidebar, click Settings, then open the Analytics & tracking tab. On your phone, open the menu, tap Settings, and pick Analytics & tracking from the tab dropdown.
  2. Find the Connect Google Analytics card in the Analytics section.
  3. Click Connect.
  4. Paste your ID into Measurement ID.
  5. Click Connect below the field.
  6. Look for "Measurement ID successfully saved." The card now shows a green Connected badge.

That's it. You don't need to publish your website again. Tracking starts the next time someone opens one of your pages.

How to change or remove your Measurement ID

  1. Open Settings and the Analytics & tracking tab.
  2. To change it, click Edit, paste the new ID into Measurement ID, and click Update.
  3. To remove it, click Disconnect. It's removed right away, with no confirmation step, so only click it when you mean it.

What gets tracked

Once connected, Google Analytics loads on all your public pages:

  • Your main website
  • Property pages
  • Lead pages
  • Quizzes
  • Listicles

Each visit is recorded as a page view. When a visitor submits a form on your website, a lead page, a quiz or a listicle, a generate_lead event is also sent to Google Analytics.

Tracking doesn't run on your website until it's published. See How to publish your website and see your changes live.

Tips

  • Paste only the ID, like G-XXXXXXXXXX. Don't paste the whole tracking code or any extra words.
  • Keep the capital letters. A lowercase ID won't be accepted.
  • After connecting, open your own website and check Google Analytics to see your visit come in.
  • Running ads on Facebook or Instagram too? Add your Meta Pixel on the same tab.

Free vs Pro

FreePro
Connect Google AnalyticsNoYes
What happens to a saved IDKept, but not loadedLoaded on all your public pages

If you go from Pro to Free, Google Analytics stops loading on your pages. Your Measurement ID stays saved, and tracking starts again if you upgrade.

Common questions

I see "Measurement ID is invalid." What's wrong?

The text you pasted isn't a Measurement ID. Copy the ID again from Google Analytics. It starts with G- and uses capital letters.

Can I use an old Universal Analytics ID?

This setting is built for GA4. Use your GA4 Measurement ID, which starts with G-.

Why don't I see data in Google Analytics yet?

Make sure your website is published and the card says Connected. Then visit your page yourself. How quickly reports update is up to Google.

Related articles

See How to add the Meta Pixel to your website, How to set your SEO title and description, How to create a lead page (and use it to capture leads) and Understanding plans and pricing on Agentr.ee.

Still stuck? A real person answers every email.

support@agentr.ee