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:
How to Find the Google Analytics Measurement ID
First, log into your Google Analytics 4 account. Second, click “Admin” from the navigation sidebar.
Third, select "Data streams" under "Data collection and modification."
And choose your Data Stream from the list.
Then you’ll see your Measurement ID:
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:
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.
After you’ve connected your GA4 account to MonsterInsights, you should be able to see a report of your site performance.
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.”
And click on the property that you want to set up.
In the window that appears, scroll down and select “View tag instructions.”
Then, click on "Install manually." And hit the copy icon on the top right corner of the code box.
After you’ve copied the code, head back to your Shopify store. And click on “Online Store” > “Themes.”
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.
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.
Backlink Audit Tool
Combining the Backlink Audit tool with Google Analytics provides updated data on traffic that each backlink sends to your site.
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.
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:
- Page views
- Bounce rate
- Average session duration
- Average time on page
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
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.
Check out our knowledge base for a complete list of Semrush tools with Google Analytics integrations.