Google Analytics Tracking ID: Where It Is & How to Find It

Semrush Team

Feb 19, 20243 min read
google analytics tracking id

TABLE OF CONTENTS

What Is the Google Analytics Tracking ID?

The Google Analytics tracking ID is a unique identifier Google Analytics assigns to a property (like a website, blog, or mobile app).

Google Analytics uses this ID in its tracking code to identify and collect your property’s user traffic and behavior data.

Which are helpful for when you need to make data-driven decisions for your marketing campaigns.

More accurately, it’s called “Measurement ID” in Google Analytics 4 (GA4).

And it looks like this:

Measurement ID

How to Find the Google Analytics Measurement ID

First, log into your Google Analytics 4 account. Second, click “Admin” from the navigation sidebar.

Admin button in GA4

Third, select "Data streams" under "Data collection and modification."

Data streams button in admin settings of GA4

And choose your Data Stream from the list.

data streams found in GA4

Then you’ll see your Measurement ID:

Measurement ID in GA4

How to Implement Google Analytics 4 for Your Website

GA4 implementation requires adding a GA tag containing your Measurement ID to your website.

Here’s how you can do that based on the CMS you use:

WordPress

If your website runs on WordPress, the MonsterInsights plugin can come in handy for installing GA4.

After you’ve installed and activated the plugin, follow the prompts on your screen to connect your GA4 account.

Making sure the right connect your GA4 property.

how to implement GA4 for your website

After you’ve connected your GA4 account to MonsterInsights, you should be able to see a report of your site performance.

site performance report

Shopify

To install GA4 on your Shopify store, you need to add your “global site tag” to your store’s theme code.

You can get your “global site tag” in your GA4 account.

Go to “Admin” > “Data Streams.”

Data streams button in admin settings of GA4

And click on the property that you want to set up.

data streams found in GA4

In the window that appears, scroll down and select “View tag instructions.”

"View tag instructions" button

Then, click on "Install manually." And hit the copy icon on the top right corner of the code box.

click on install manually

After you’ve copied the code, head back to your Shopify store. And click on “Online Store” > “Themes.”

find themes in shopify store

Click on the three dots beside the customize button. And then, hit “Edit code” in the drop-down menu that appears.

Afterward, paste your copied global site tag code into the <head> section of your theme’s code. The code’s <head> section can usually be found under “Layout” > “theme.liquid.”

Note: Making changes to your website’s theme can cause serious problems if you make mistakes. If you’re unsure, it’s often best to ask a developer to make the change for you.

Other CMS Platforms

Google has provided instructions on how to implement GA4 on most CMS platforms. But if your CMS doesn’t support GA4, you’ll need manual installation to do this successfully.

Just copy your “global site tag” code from your GA4 account and paste it into your website’s <head> section.

global site tag in ga4

We recommend asking for help from your developer to do this.

Integrating Google Analytics with Semrush

Once you’ve implemented Google Analytics for your site, you can further manage and analyze incoming Google Analytics data with the help of third-party tools like Semrush.

Semrush offers a wealth of integrations with Google Analytics:

On-Page SEO Checker

When you pair the On Page SEO Checker tool with Google Analytics, you’ll get specific suggestions to improve your performance based on user experience metrics like bounce rate, time on page, and load time.

On Page SEO Checker tool

Combining the Backlink Audit tool with Google Analytics provides updated data on traffic that each backlink sends to your site.

Backlink Audit tool

With Backlink Audit, you can also:

  • Keep tabs on new and lost backlinks
  • Spot toxic backlinks pointing to your website
  • Identify backlinks coming from link networks

Organic Traffic Insights Tool

Connecting the Organic Traffic Insights tool with Google Analytics lets you unlock the “Not Provided” data from Google Analytics.

With it, you can combine data from Google Analytics, Semrush, and Google Search Console in one place. You can also view the data for a specific country or device type.

Organic Traffic Insights tool

Site Audit Tool

The Site Audit tool searches for issues that hurt your site’s performance in Google.

By integrating this tool with Google Analytics, you add to the audit results information about:

  • Page views
  • Orphaned pages
  • Pages that take longer than a second to become interactive

Content Audit Tool

Connecting the Content Audit Tool with Google Analytics gives you access to additional metrics that are useful in determining which articles are performing poorly. (Meaning they will require your attention first.)

Additional metrics include:

  • Sessions
  • Page views
  • Bounce rate
  • Average session duration
  • Average time on page
Content audit tool

Position Tracking Tool

Connecting your Google Analytics account with the Position Tracking tool lets you import keyword data from Google Analytics. And analyze various metrics in one central location.

These pieces of keyword data include:

  • Visibility (in search)
  • Estimated Traffic
  • Average Position
Position Tracking tool

Get the Most Out of Google Analytics & Semrush

Finding your Google Analytics Measurement ID is step one. Once it’s connected to your website, Google Analytics can introduce you to a world of useful traffic data.

For even more useful data, integrate Google Analytics with Semrush. You can connect Google Analytics to Semrush’s Position Tracking tool, On Page SEO Checker, Site Audit, and more.

Check out our knowledge base for a complete list of Semrush tools with Google Analytics integrations.

Share
Find Keyword Ideas in Seconds

Boost SEO results with powerful keyword research

Free Keyword Research Tool

Author Photo
From this account we share helpful ways to use the Semrush toolkit to achieve your SEO goals!
More on this