A magnifying glass resting on a printed page of plain bars on a dark desk, a mug and a window at the right.
  1. Home
  2. Journal
  3. Web Design
Web Design

How do I check if my website has Google Analytics, and what to do if it does not

Lucent Digital Studio26 Nov 2026Updated 26 Nov 20265 min read

How do I check if my website has Google Analytics?

To check if your website has Google Analytics, look for a Google tag in its page code, or sign in to Google Analytics and check the web data stream under Admin. A tag's Measurement ID starts with G-. If you find neither, ask whoever runs the site, because Analytics can also load through Google Tag Manager.

To check whether your website has Google Analytics, look for a Google tag in the page code, or sign in to your Google Analytics account and check the web data stream under Admin. Google's own setup guide says the Measurement ID for a web stream starts with "G-". If you find neither, your site is not measured by Google Analytics, and you have no visitor numbers to judge it by.

Method one: look in the page code

Open your homepage in a browser. Right-click the page and choose View page source, or press Ctrl+U on Windows. Then press Ctrl+F and search for "G-". If a script on the page contains a "G-" followed by letters and numbers, that is most likely a Google tag, and it is loading on the page.

If the search finds nothing, the site may load Analytics through Google Tag Manager instead. In that case the page shows a container ID rather than a G- ID. Check inside the tag manager, or ask the person who runs the site.

Method two: check your Google Analytics account

Sign in with the Google account that owns the analytics for the site. Go to Admin. Under Data collection and modification, choose Data streams. Open your web stream, and the Measurement ID is in the Stream Details. It starts with "G-", and it is the same ID that should appear in your page code.

If you cannot sign in, the account may belong to your previous web designer or to whoever set up your domain. Ask them for access. Access is the first thing to sort, because without it you cannot see your own numbers.

Method three: ask the person who runs the site

If the first two methods do not settle it, ask your web designer or developer two things: which Google Analytics account and Measurement ID the site uses, and who has Editor access to it. Those two answers take a minute to give and are the ones you need for everything else on this page.

If you find an ID, check that data is arriving

Finding the ID is not the same as seeing visits. Open the reports for the last few days and check that visits are showing up. If the numbers are empty, the tag may sit on a different site, may be pasted in the wrong place, or may be blocked by your cookie choice, which is covered below.

If your site has no Google Analytics

Setting it up is a short sequence. Google's guide describes creating an Analytics account and property, adding a web data stream, and then adding the Google tag to the website. Many website builders and content management systems have a field where you paste the Measurement ID, so you do not need to edit any code. If your site is built on one of those, the change is usually a single field.

Before you switch it on, read the UK point below, because the cookie choice affects what your site does when a visitor first arrives.

The ICO's guidance on cookies says the Privacy and Electronic Communications Regulations apply to all cookies, including cookies that hold anonymous data. It uses simply counting visitors to a website as an example of a case where the rules still apply. For a UK small business, that means planning a consent choice before analytics loads, and I would not switch it on without one.

I am not giving legal advice. A privacy adviser can confirm how the exemptions in the ICO guidance apply to your site.

What to do next

  • Confirm the Measurement ID in your page code matches the one in your account.
  • Check that visits arrive in the reports.
  • Make sure your cookie choice and your privacy notice describe analytics in plain words.

Once the numbers are flowing, the useful question is whether visits turn into enquiries. Finding the leak in a site that gets visitors but no enquiries shows how to read them. If the numbers are close to empty, the problem is more likely search visibility, and why your website is not ranking on Google covers that first. If you would rather have someone check the setup with you, SEO services is where I cover that work.

Sources

  1. Google Analytics Help, Set up Analytics for a website and/or app
  2. ICO, Cookies and similar technologies (PECR guidance)
Lucent Digital StudioDesign, build, SEO and Meta Ads for UK service businesses, from Leeds.
About Lucent →
01How do I know if my website has Google Analytics?

Look for a Google tag in the page code, or sign in to Google Analytics and check the web data stream under Admin. If the tag is there, its ID starts with G-. If you find neither, the site is not measured by Google Analytics and you have no visitor numbers to work from.

02What is the Measurement ID in Google Analytics?

It is the ID for a web data stream in your Google Analytics account. Google's setup guide says it starts with G- or AW-, and you find it under Admin, then Data streams, in the Stream Details of your web stream. Your website needs that ID, pasted in by you or by whoever builds the site, before it can send visits to the account.

03Does Google Analytics need cookie consent in the UK?

The ICO says the Privacy and Electronic Communications Regulations apply to all cookies, including cookies that hold anonymous data, and it gives simply counting visitors to a website as an example. In practice, plan for a consent choice before analytics loads. I am not giving legal advice, so check with a privacy adviser how the exemptions apply to your site.

Tell Lucent what you need.

Ads, a website, search, creators or a whole new brand. Start with a free, written look at where you are now.