Set up (web)

Check if a web page uses Google Analytics

For web pages you own

The easiest ways to find out if Google Analytics is installed and working on a web page you own is to check the Real-Time category of reports in your Google Analytics account. If you’re looking for a specific page, the Real-Time Content report will likely be the most useful.

For web pages you visit (and don’t own)

There are a different ways you can find out if a web page you’re visiting (and don’t own) uses Google Analytics. The most common ways to check are built into most modern browsers. You can either view the source code, which instructs the browser what to load, or use browser-based developer tools to see if the page is sending information to Google Analytics.

When you’re looking for Google Analytics, try both methods. It’s common for the Analytics JavaScript to be included directly on a web page, so you can see it in the source code. It’s possible for a page to call Analytics from another source. In these cases, you won’t see the JavaScript directly on the page. You’ll only be able to tell if the page is using Analytics if you check the developer tools for communication with Analytics.

If you’re using Chrome, and want to check the source code for the Google Analytics JavaScript:

  1. Load a web page in the Chrome browser.
  2. From the browser menu, select View.
  3. Select Developer, then View Source.
  4. You should see a lot of code. Search the page for either analytics.js (for Universal Analytics) or ga.js (for classic Google Analytics). A site can use both JavaScript libraries at the same time.

If you’re using Chrome, and want to use the developer tools:

  1. Load a web page in the Chrome browser.
  2. From the browser menu, select View.
  3. Select Developer, then Developer Tools.
  4. Click Network. If you don’t see any data in the table, refresh the page.
  5. In the Initiator column, look for either analytics.js (for Universal Analytics) or ga.js (for classic Google Analytics). A site can use both JavaScript libraries at the same time.

Availability and access to these tools vary. Check your browser's help center for more information on how to check the source code or use the developer tools.