How To Find Google Analytics Tracking Code And ID

Adding Google Analytics tracking code to your website enables you to keep track of your websiteโ€™s analytics, track the number of visitors on your site in real-time, find what people are looking for on your site, view your top-performing blog posts and pages.,bounce rate, and much more.

If you want to track the performance of your website, see which keywords are doing well, how visitor’s interact with your site installing Google Analytics tracking code is a must.

How to find your Google Analytics tracking code and ID

Before we proceed further, I assume that you already have a Google Analytics account and not a Google Analytics 360 account (your Gmail account is sufficient).

Secondly, I assume that you have already submitted your site as a property in the Google webmasters tool/ Analytics. As this is necessary which allows you to generate a tracking code and ID.

If you have not verified the ownership (your website as property) with Google webmasters tool, see our detailed post on How To Verify Ownership Of Website With Google.

Find your Tracking ID and Global Site Tag.

To get your tracking ID and global site tag Log in to your Google Analytics account. (this link will open in a new tab)

On this page on the bottom left click on Admin

Google analytics Admin

In the Admin page on the left under All Accounts select an account from the dropdown menu (if you have more then one site)

In Property settings (in the middle column) click on “Tracking Info” this will expand, and you will see the Tracking code link click on it.
Find Google Analytics Tracking Code

Google Analytics Tracking ID

This will open the page containing your site’s tracking ID and Global site tag.

On top of this page, you will find your site’s Tracking ID, displayed as UA-xxxxxxxx-1

Google analytics tracking ID

Google Analytics is known to slow down site speed. Learn how to host Google Analytics locally in WordPress and boost your site performance. get rid of the leverage browser caching for cacheable resources warning from speed testing tools like GTMetrix, including Google PageSpeed Insights.

Check out: How To Measure Your Website Page Load Time Correctly

Global Site Tag (gtag.js)

If you need your site’s Global site tag, just below that Google analytics will provide your site’s Global Site Tag code under Website tracking.
Find Google Analytics Tracking Code
This is the Global Site Tag (gtag.js) tracking code for your selected property. You will need to Copy and paste this code in the <head> tag of every webpage you want to track.

Google analytics global site tag needs to be pasted into the <head> tag of your website. If you are confused and struggling to find a way to add header and footer code in your WordPress theme. See our detailed post on the easiest and most future proof way to add header and footer code in WordPress.