,

How To Find My Google Analytics Tracking Code In 5 Clicks

How to find your Google Analytics tracking code

5 Clicks To Find Your Google Analytics Tracking Code

In this article, we’ll show you how to find your Google Analytics tracking code (the GA4 Google tag) in 5 easy clicks. If your Analytics account is already set up, this takes about a minute.

Login to your Google Analytics account and you’ll see the main dashboard. Once you’re there, do the following 5 steps…

STEP 1 – Click Settings Admin (lower left).

Find My Google Analytics Tracking Code

STEP 2 – Under Data collection and modification, click “Data streams”

Data Streams panel in Google Analytics 4 admin

STEP 3 – In the Data Streams panel, click your website name

Find your Google Analytics Tracking ID

STEP 4 – Scroll down to the “Google Tag” panel and click “View Tag Instructions”

GA4 View Tag Instructions and Install Manually tab showing the tracking code

STEP 5 – Click the “Install Manually” tab and there it is! And that’s it!

How to find your GA4 tracking code in 5 clicks

Copy & paste it

Simply highlight the whole code with your mouse cursor, and then right click it to Copy and Paste the code onto your website.

Where to paste the GA4 gtag.js tracking code on your website

Only need your Measurement ID?

Many WordPress plugins and website builders (including Google Site Kit) only ask for your Measurement ID instead of the full code. You’ll find it in Step 3: open your web stream and copy the ID under Stream details. It starts with “G-“.

Setting up Google Analytics for the first time?

If you don’t see your website in the Data streams panel yet, click Add stream, choose Web, enter your website address and a stream name, then click Create stream. Your new stream opens right away, and you can follow Steps 4 and 5 above to get your tracking code. Older Universal Analytics properties stopped collecting data in 2023, so if your site still has an old “UA-” code installed, replace it with your new GA4 tag.

Google’s own guide has more detail: Find your Google tag ID.

PRO TIP: Where to copy and paste your Google Analytics gtag.js code

Google recommends that you copy and paste your code into the <head> section of your website’s HTML. While this is their official recommendation, did you know that you can copy and paste your Google Analytics tracking code into the your website’s HTML Footer?

Our pro tip is to actually paste it into the Footer HTML section. Why? Scripts in the Header will load first – this is where most services want you to paste their scripts because they want their scripts to load first on your website. The problem with loading scripts like this first is simple – they’ll load first while the rest of your site will load second.

Scripts in the header can slow down your website’s overall load time. However, scripts in the Footer will load last. This means your site (e.g. image files, text, design layout, etc) will load first, and your scripts will load after that.

 

Small business owner needing website support, website help, and website management services

Don’t know how to do this stuff? We’ll do it for you.

Don’t know how to find your site’s HTML Head, Body, or Footer? Not comfortable editing HTML or inserting scripts? This is one of the many tasks that we’re on-call to do for you.

Whether you need us to install your Google Analytics Code, make website design edits, troubleshoot and fix website issues, or simply update your WordPress plugins, our website maintenance plans have you covered.

We offer dedicated webmasters so you can talk to the same expert anytime you need something done on your website. And even if you don’t need anything, we’ll handle your website’s daily maintenance and security tasks to keep everything secure and functioning properly.

No contract. No risk.

Month-to-month website support services

We don’t contract our business – we earn it every month. Let us handle your website edits, fixes, design, maintenance, and security.

Give us a try.