Why is My Google Analytics Not Working?

Cody Schneider8 min read

Setting up Google Analytics just to see a flat line of zero traffic is a frustrating experience. You followed the steps, waited patiently, but there's still no data in your reports. This guide will walk you through the most common reasons why GA4 might not be working and show you exactly how to fix each one, starting with the simplest fixes and moving to more complex issues.

Start with a Quick Diagnostic Checkup

Often, the problem is a simple oversight rather than a deep technical glitch. Before you spend hours troubleshooting, run through these common issues first. Many "not working" problems get solved right here.

1. Is the Google Tag Correctly Installed?

The single most common reason for no data is an issue with the Google tracking tag. The tag is a small snippet of JavaScript code that must be on every page of your website to collect data. If it’s missing, misplaced, or incorrect, Google Analytics receives nothing.

How to Check Your Installation:

  • Find your Measurement ID: In Google Analytics, go to Admin (the gear icon at the bottom-left), select your property, then click on Data Streams. Select your web data stream, and you'll see your "G-" Measurement ID at the top right. Make sure this ID matches the one in your website's code.
  • Verify Tag Placement: The Google tag (gtag.js) must be placed immediately after the <head> tag on every page of your site. Placing it in the <body>, or footer can cause it to load too late or not at all, leading to missed data.
  • Use Google Tag Assistant: The easiest way to verify your tag is by using the Google Tag Assistant. Just enter your website's URL, and it will open your site in a new debug window. You'll be able to see if your Google tag fired successfully and view valuable debugging details for more complex setups.

2. Are You Waiting Long Enough (and Looking at the Right Dates)?

Google Analytics isn't always instantaneous. While the Realtime report should show activity within minutes, standard reports can take 24-48 hours to fully process and display data. If you just installed the tag, you might just need to wait a little longer.

What to do:

  • Check the Realtime Report: Go to Reports > Realtime in your GA4 property. Visit your website in a separate tab or on your phone. You should see yourself pop up as a user on the map within a minute or two. If you see activity here, your tracking code is working! The standard reports will populate soon.
  • Adjust Your Date Range: Make sure the date range in the top-right corner of your reports is set to "Today" or includes the period since you installed the tag. Accidentally setting it to "Yesterday" on a new installation will obviously show zero data.

3. Do You Have an Active Ad Blocker?

Many browser extensions and ad blockers - like uBlock Origin, AdBlock Plus, or privacy-focused browsers like Brave - actively block Google Analytics tracking scripts. If you're testing your own website with these active, you won't appear in the reports because your browser is blocking the script from ever running on your end.

How to fix:

  • Test in an Incognito Window: Open a new incognito or private window (which usually has extensions disabled by default) and visit your website. This often provides a "clean" environment for testing.
  • Temporarily Disable Ad Blockers: Disable your ad-blocking extension for your website and then re-test. This will confirm if an extension is the source of the problem.

Troubleshooting Data Filters and Configuration Settings

If the tracking code is firing correctly but you're still not seeing the right data, the issue likely lies within your GA4 property's configuration. Data filters are a common culprit.

1. Check for Active IP Address Filters

One of the first things people do when setting up GA4 is filter out internal traffic from their company's office or home office. This is to avoid skewing data with your own activity. However, if this is configured incorrectly, it might filter out all traffic, including a significant portion of yours if it's set up with vague rules.

How to Check Your Filters:

  1. Navigate to Admin > Data Streams and select your web stream.
  2. Under Google tag, click Configure tag settings.
  3. Click Show all, then select Define internal traffic.
  4. Here, you'll see rules for defining traffic based on IP addresses. Ensure your current IP isn't accidentally being included if you expect to see your own visits as a test. A common mistake here is setting a broad public ISP up as excluded, which can impact your data accuracy. Check your list of applied data filters under Admin > Data Collection > Data filters.

Make sure the data filter for "Internal Traffic" is either inactive (in "Testing mode") or configured with the correct IP addresses.

2. Review Consent Mode Settings

With regulations like GDPR and CCPA, a growing number of websites now deploy a Cookie Consent banner. Google Consent Mode is a framework that adjusts how Google tags behave based on a user's cookie consent choices. Incorrect setup may result in no data being received if tags are blocked by the lack of user consent.

How to Troubleshoot Consent Mode:

  • Is the Consent Banner Functional? A broken consent management platform (CMP) can default to blocking all tags. Test your banner to make sure accepting consent actually fires the tags.
  • Use the Google Tag Assistant: The Tag Assistant Debugger can verify the current User Consent status while navigating pages. Initially, consent should be "denied." After consent is given, it should update to "granted." Use GTM Preview to check this status.

Advanced Problems: Code Conflicts and Platform Configurations

If you've checked everything above and there is still no data populating in your Google Analytics, it's time to explore some advanced techniques and troubleshooting.

1. JavaScript Errors and Conflicts

Sometimes, another script on your website can conflict with Google Analytics, preventing it from running. This is common on sites with many plugins or custom code.

How to Check for Conflicts:

  • Use Your Browser's Developer Console: In Chrome or Firefox, right-click on your webpage and select "Inspect," then click on the "Console" tab.
  • If the console output displays many red JavaScript errors, it may not necessarily stem from the GA4 tag but another script affecting its execution. You'll need a developer to address the underlying JavaScript conflict.

2. Content Security Policy (CSP) blocking Google Scripts

A Content Security Policy is a security feature your server can use to tell a browser which sources are safe for loading scripts. If Google’s domains aren't whitelisted in your CSP, your browser will block the Analytics script from loading.

How to Check for CSP Issues:

  • Visit your Browser's Dev Tool > Inspector/Console Tab. In the Inspector Tab, go to the Network tab and search for traffic associated with Google Analytics.
  • The Network should show all outgoing requests with a status report. If Google Analytics is working, the status should be "200 OK." Otherwise, "Refused to load” or "401 unauthorized access" indicates CSP issues. Adjust CSP settings to allow traffic from Google’s domains.

3. Issues with Single-Page Applications (SPAs)

Websites built with frameworks like React, Angular, or Vue are Single-Page Applications. In SPAs, navigating between pages doesn't trigger a full page reload, instead, content loads dynamically. A standard GA4 setup only tracks the initial page load.

How to Fix Tracking on SPAs:

  • Ensure "Enhanced Measurement" is enabled on your data stream by selecting your active Data stream under the Admin Panel: Admin > Data Streams > Event > Page Views. This will track history changes, ensuring page views are recorded even in dynamic content scenarios.

Final Thoughts

Troubleshooting Google Analytics can feel overwhelming, but most issues come down to a few common problems: incorrect tag installation, conflicting scripts, or a simple misconfiguration in your data filters. By following this checklist, you can methodically identify and fix the reason your data is missing and get back to analyzing your performance.

At the end of the day, Google Analytics is just one part of your data stack. Once you have it working, the real work of combining it with data from your other tools - like marketing platforms, your CRM, or your e-commerce store - begins. We built Graphed to make that part effortless. Once you connect your sources, we do the heavy lifting of pulling all your data into one place, allowing you to easily create real-time reports that update automatically and bring real-time clarity with the help of AI.

Related Articles

How to Connect Facebook to Google Data Studio: The Complete Guide for 2026

Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.

Appsflyer vs Mixpanel​: Complete 2026 Comparison Guide

The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.