Do I Have Google Analytics?
Wondering if your website is actually tracking visitors with Google Analytics? It’s a common question, and thankfully, you don’t need to be a developer to find the answer. This guide will walk you through a few simple, foolproof ways to see if Google Analytics is installed on any website, including your own.
Your First Stop: Checking the Website's Source Code
Every web page is built with code, and looking at this code is the most direct way to find the Google Analytics tracking script. This might sound intimidating, but it’s actually just a matter of searching for a specific piece of text.
How to View the Page Source
First, go to the website you want to check. Once it’s loaded, simply right-click anywhere on the page and select "View Page Source" from the menu. Your browser will open a new tab filled with the HTML code that builds the page.
Don't worry about understanding what it all means! We're just looking for a specific clue.
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.
What to Search For
With the source code open, use your browser's find function (press Ctrl+F on Windows or Cmd+F on Mac). A small search box will appear. Here’s what you should search for:
1. gtag.js (For Google Analytics 4)
This is the script for Google Analytics 4, the current version of Google Analytics. Simply type gtag.js into the search box. If it’s there, you’ll see a block of code highlighted that looks something like this:
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [],
function gtag(){dataLayer.push(arguments),}
gtag('js', new Date()),
gtag('config', 'G-XXXXXXXXXX'),
</script>The key things to notice are the gtag.js in the script source and the measurement ID that starts with G-.
2. analytics.js (For Universal Analytics)
While this is the older version of Google Analytics (which stopped processing new data in July 2023), many websites might still have the old code snippet lingering. Search for analytics.js. If you find it, the code will look similar to this:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r,i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date(),a=s.createElement(o),
m=s.getElementsByTagName(o)[0],a.async=1,a.src=g,m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'),
ga('create', 'UA-XXXXXXXX-X', 'auto'),
ga('send', 'pageview'),
</script>The telltale signs here are analytics.js and the Tracking ID, which looks like UA-XXXXXXXX-X.
3. gtm.js (For Google Tag Manager)
Sometimes, companies use Google Tag Manager (GTM) to manage all their tracking scripts, including Google Analytics. If you see GTM code, it’s very likely that Google Analytics is being run through it. Search for gtm.js. The snippet for Google Tag Manager looks like this:
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[],w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'}),var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'',j.async=true,j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl,f.parentNode.insertBefore(j,f),
})(window,document,'script','dataLayer','GTM-XXXXXXX'),</script>
<!-- End Google Tag Manager -->If you see code with GTM- in it, it confirms the site uses Google Tag Manager. While this doesn't guarantee GA is active, it’s a strong indicator. Most websites using GTM are doing so to manage tags like Google Analytics.
The Easy Way: Use a Browser Extension
If looking at code isn't your thing, there’s an even easier method: browser extensions. These little tools scan the website you're on and tell you what technologies it's using.
Recommended Extensions
Two of the most popular and reliable extensions for this job are:
- Wappalyzer: Available for Chrome, Firefox, and Edge, Wappalyzer identifies an incredibly wide range of web technologies, from analytics tools to web frameworks and CRMs.
- Google Tag Assistant Legacy: This is a free extension from Google itself. It’s specifically designed to check for the proper installation of Google marketing tags, including Google Analytics and Google Tag Manager.
How to Use Them
- Install the extension: Go to your browser's extension store (like the Chrome Web Store), search for the extension by name, and add it to your browser.
- Visit the website: Navigate to the page you want to check.
- Click the extension's icon: Click the small icon for the extension in your browser's toolbar. It will pop up with a list of technologies it found on the page.
If Google Analytics is installed, Wappalyzer will list it under the "Analytics" section. Tag Assistant will show you a "Google Analytics" tag, often colored green or blue to indicate it's working properly.
For Advanced Users: Using Browser Developer Tools
For those who are a bit more comfortable with browser tools, "Developer Tools" offers a way to see what data is actually being sent from the website in real time.
- Open Developer Tools by pressing F12 on Windows or Cmd+Option+I on Mac. You can also right-click on the page and select "Inspect."
- Click on the "Network" tab. This tab shows all the resources and data being loaded by the page.
- In the filter box at the top of the Network panel, type
google-analytics. If nothing shows up, try refreshing the page. - If Google Analytics is working, you will see one or more rows appear that include
google-analytics.com/collect. This is the network request that sends tracking data (like your pageview) from the website to Google's servers.
Seeing this collect request is definitive proof that data is being sent to Google Analytics.
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.
I See the Code! But what if I own the site?
If the website is yours, you can also check for the Google Analytics integration within your site's content management system (CMS). This is often the easiest place to find and confirm your tracking ID.
Checking in WordPress
In your WordPress dashboard, your GA code might be located in a few places:
- Plugins: Look for a dedicated plugin like Google Site Kit, MonsterInsights, or similar analytics plugins. Their settings page will contain your Google Analytics ID.
- Theme Options: Some themes have a special section under "Appearance" > "Customize" or a dedicated Theme Options panel where you can paste header/footer scripts or analytics IDs.
- Header and Footer Scripts: A plugin like "Insert Headers and Footers" might be used to add the tracking code to your site. Check its settings for the code snippet.
Checking in Shopify
For Shopify stores, adding Google Analytics is straightforward, so checking is too.
- From your Shopify admin, go to Online Store > Preferences.
- Scroll down to the "Google Analytics" section.
- If it's set up, you will see a box with your Google Analytics account information or a place where the
G-Measurement ID is pasted.
Checking in Squarespace or Wix
Platforms like Squarespace and Wix have built-in integrations for this.
- In Squarespace: Go to Settings > Website > External API Keys. Your Google Analytics Measurement ID will be entered there.
- In Wix: Go to Marketing & SEO > Marketing Integrations. Look for the Google Analytics integration, and you'll find your tracking ID inside.
Final Thoughts
Confirming that your website has Google Analytics is the first step toward understanding your audience. Whether you peek at the source code, use a handy browser extension, or check the backend of your website builder, you now have a few simple methods to get a clear answer in just a few minutes.
But getting GA installed is just half the battle. Making sense of all that data is where the real work begins. Instead of wrestling with complex reports and custom dashboards, this is exactly why we built Graphed. We connect directly to your Google Analytics account with one click, letting you ask questions in plain English like, "show me my top 10 landing pages by traffic Last Month" and instantly get the answers - and charts - you need.
Related Articles
Facebook Ads for Physical Therapists: The Complete 2026 Strategy Guide
Learn how to use Facebook ads for physical therapists to attract new patients in 2026. Complete strategy guide with targeting, ad creative, instant forms, budget guidelines, and follow-up best practices for cash-pay PT practices.
Facebook Ads for Clinics: The Complete 2026 Strategy Guide
Learn how to use Facebook Ads for Clinics to grow your patient base in 2026. Complete guide covers targeting, campaign types, and compliance requirements.
Facebook Ads for Salons: The Complete 2026 Strategy Guide
Learn how to run profitable Facebook ads for hair salons and beauty spas in 2026. This comprehensive guide covers targeting, ad creation, budgeting, and proven strategies to attract more clients.