Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Connect Google Analytics to Your Website

Track your website visitors with Google Analytics 4: create your account, add the Google tag to your website and find your traffic reports.

Google Analytics 4 shows you how many people visit your website, where they come from and which pages they read. It's free, and you don't need to run Google Ads to use it.

Want us to do it? Email support@agentfire.com with your website address and your Google Analytics Measurement ID (it starts with G-), and we'll install it for you.

Set It Up

1

Create your Google Analytics property

Sign in at analytics.google.com with your Google account. Google walks you through five short screens: name your account, name your property (your website address works well), pick your business type and goals, then choose Web.

On the last screen, enter your website address, give the stream a name and click Create & continue.

Set up data stream screen with the website address and stream name filled in and the Create and continue button highlighted

Already have a property for your website? Skip this step and use that one instead.

2

Copy your Google tag

Google shows your tag right after you create the stream. Under Install manually, click the copy icon to copy the whole tag.

Set up a Google tag window with the Install manually code and its copy icon highlighted

Closed that window? Go to Admin > Data streams, click your website and then View tag instructions. Your Measurement ID (starting with G-) is on the same page.

Web stream details with the View tag instructions button and the Measurement ID highlighted
3

Paste it into your website

In your Dashboard, open the menu in the top left corner and go to Site Settings > AgentFire Settings > Header/Footer Scripts & Metas.

Paste the tag on a new line in the Head first box, below anything already there. If your site has a cookie banner, set that box's category to Analytics & Marketing. Then click Update on the right and wait for the "Options Updated" message.

Header/Footer Scripts and Metas page with the Head first box highlighted and the Update button

This adds Google Analytics to every page of your website, including your IDX search pages.

4

Check that it's working

Visit your website in another tab, then in Google Analytics open Reports > Realtime overview. You should see at least one active user within a few minutes.

Realtime overview showing 1 active user in the last 30 minutes

Other reports can take up to 48 hours to fill in.

Find Your Traffic Reports

Your traffic reports live in Google Analytics, not in your AgentFire Dashboard.

To see...
Go to

Where your visitors come from

Reports > Acquisition > Traffic acquisition

Which pages, posts and listings get viewed

Reports > Engagement > Pages and screens

Who's on your site right now

Reports > Realtime overview

Use the date picker in the top right corner to change the time period.

Common Questions

Google says "tag not detected" or I see no data.

Google's Test installation button can say the tag wasn't detected even when it's working. Check Reports > Realtime overview first: if you see yourself there, you're all set. If not, wait 48 hours and check that you're looking at the right property. Still stuck? Email support@agentfire.com with your website address and Measurement ID.

Can I log in to Google Analytics with my website login?

No. Google Analytics uses your Google account. If you can't open the property, ask whoever created it to add your Google account.

My tag starts with GTM- instead of G-. Is that right?

Yes. Google now gives many new websites a tag that starts with GTM-. Paste it exactly as Google shows it. Your Measurement ID (starting with G-) is still listed under Admin > Data streams.

I'm using Google Tag Manager. Do I still need this?

If your Tag Manager container already includes a Google Analytics tag, you don't need to add another one.

Last updated