Is Google Analytics Installed Correctly?

Cody Schneider7 min read

You’ve gone through the steps to add Google Analytics to your website, but now an unsettling thought creeps in: is it actually working? An incorrect setup can lead to missing data, inaccurate reports, and bad business decisions. This article will walk you through four straightforward methods to verify that your Google Analytics tag is installed correctly and gathering the data you need.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Why Accurate Installation Matters

Before jumping into the "how," it's helpful to understand the stakes. A flawed Google Analytics setup isn't just a minor technical issue, it's a major business problem that's often hard to detect. If your tag is missing from certain pages, you won't have a complete picture of your user journeys. If you have duplicate tags installed, you'll be double-counting pageviews and artificially inflating your traffic numbers, making your marketing efforts seem twice as effective as they really are.

Common issues include:

  • Tags installed on some pages but not others (e.g., on the homepage but missing from blog posts).
  • Duplicate Google Analytics 4 tags firing simultaneously.
  • An old Universal Analytics (UA) tag and a new GA4 tag firing at the same time, leading to pageview discrepancies.
  • A single-page application (SPA) not tracking "virtual" pageviews correctly.

Verifying your installation is the first and most critical step in building a reliable data foundation. Fortunately, it's easier than you might think.

Method 1: The Quickest Check Inside Google Analytics

The simplest way to see if your website is communicating with Google Analytics is by using the built-in Real-time report. This method requires no technical skills and gives you an immediate thumbs-up or thumbs-down.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Using the Real-time Report

The idea is to visit your own website and watch for yourself to appear in the live data feed.

  1. Log into your Google Analytics account and navigate to the correct GA4 property.
  2. In the left-hand navigation, click on Reports > Real-time.
  3. Open your website in a new browser tab. Tip: Using an incognito window helps ensure you're not seeing a cached version of your site and that browser extensions aren't blocking the tag.
  4. Click around on a few different pages of your site.
  5. Switch back to the Real-time report in Google Analytics.

You should see the "Users in last 30 minutes" counter tick up to at least "1." Your current location should appear on the world map, and the cards below it (like "Views by Page title" and "Event count") should populate with the interactions you just made. If you see your activity show up, congratulations! Google is receiving data from your site.

What if I don't see any activity?

Don’t panic yet. This could mean a few things:

  • Internal Traffic Filters: You may have set up filters to exclude traffic from your IP address (like your office or home network). This is a common practice to keep your own activity from skewing the data. Try accessing your site on your phone using a cellular connection (not Wi-Fi) and check the Real-time report again.
  • Caching: Your website might be using an aggressive caching plugin or service, and the version of the page you're seeing might not yet have the GA tag code on it. Clear your website's cache and your browser cache and try again.
  • The Tag is Missing: It's also possible the tag simply isn't installed. In that case, move on to the next methods to diagnose the problem.

Method 2: Looking Under the Hood with Your Browser

If the Real-time report isn't showing anything, the next step is to check if the Google Analytics code is actually present on your webpage. You don't need to be a developer to do this, you just need to know where to look.

Check the Page Source Code

Every webpage is built with HTML, and your Google Analytics tracking tag is just a small snippet of JavaScript code within that HTML. Here’s how you can find it:

  1. Navigate to your website's homepage (or any page you want to check).
  2. Right-click anywhere on the page and select "View Page Source" from the pop-up menu. (The keyboard shortcut is usually Ctrl+U on Windows or Cmd+Option+U on Mac).
  3. A new tab will open, showing you the raw HTML code of your site.
  4. Press Ctrl+F (Windows) or Cmd+F (Mac) to open the "Find" bar.
  5. Type gtag.js into the search box. This is the library for Google's global site tag. You should see a line of code referencing it, like this: <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
  6. Next, search for your GA4 Measurement ID (it always starts with "G-"). You can find this ID in your GA account under Admin > Data Streams. You should find it in the code as well.

If you find this code, it confirms the tag is physically present on that specific page. Remember to check a few different types of pages on your site (e.g., your homepage, a service page, a blog post, a contact page) to make sure the tracking code was added to all page templates, not just one.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Use Browser Developer Tools

This is a slightly more advanced but powerful way to check if the tag isn't just present, but is actively sending data (known as "firing").

  1. Go to your website.
  2. Right-click and choose "Inspect." This will open the Developer Tools panel.
  3. Click on the "Network" tab within the Developer Tools.
  4. In the "Filter" box at the top of the Network tab, type collect.
  5. Refresh the webpage with the Network panel still open.

As the page loads, you’ll see network requests populating the list. You are looking for a line that includes google-analytics.com/g/collect. This line is the data "hit" being sent from your website to Google's servers. Clicking this line lets you see the details of the data sent, including your Measurement ID (listed as "tid"). If you see this request, it's definitive proof that data is being sent to Google Analytics every time that page loads.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Method 3: The Gold Standard with Google Tag Assistant

The most thorough and reliable free tool for this job is Google's own Tag Assistant. It tells you not only if a tag is present and firing, but also which specific tags are active and whether they have any errors.

  1. Go to tagassistant.google.com
  2. Click Add domain and enter your website's full URL (e.g., https://www.yourwebsite.com).
  3. Click Connect. A new browser window will open with your website loaded. You'll notice a small "Tag Assistant Connected" badge in the bottom right corner.
  4. Keep both the Tag Assistant window and your website window open. Click around your site to a few different pages.
  5. Go back to the Tag Assistant window. You should see a summary of the debugging session.

Here, you'll see a box showing that your Google Tag (or GA4 configuration) has been found. It will display your Measurement ID ("G-XXXXXXX"). If the tag is blue with a checkmark, it’s being detected properly.

For more detail, click on the ID. This will open a "Hits Sent" view where you can see all the events that have fired during your session. You should see page_view, user_engagement, and other events as you interact with your site. This is invaluable for debugging more complex tracking, like button clicks or form submissions.

Tag Assistant is also the best tool for spotting duplicate tags. If you see your G-ID listed twice, or if you spot an old "UA-XXXXXXX" property firing alongside your new G-ID, you know you have a duplicate tag issue you need to resolve.

Final Thoughts

Confirming your Google Analytics setup is a foundational part of running a data-driven business. By using the Real-time report, checking the source code, or leveraging the power of Google's Tag Assistant, you can have complete confidence that your data is accurate, complete, and reliable - setting you up for smarter decision-making down the line.

Once you are collecting data correctly, the next challenge is turning it into easy-to-understand insights. Instead of wrestling with confusing custom reports or spending hours pulling data together, we built Graphed to do the heavy lifting for you. We connect to your data sources like Google Analytics in just a few clicks, allowing you to use simple, natural language to instantly build the live dashboards and reports you need to see what's actually working.

Related Articles