
Google Analytics Tracking Code
- Log in to your Google Analytics account
- On left-hand side of the page, click Admin
- From the left column named Account, select an account from the dropdown menu
- From the middle column named Property, select a property from the dropdown menu
- Under the Property tab, now click on Tracking Info and Tracking Code
- Your website’s unique tracking ID is generated and shown at the top of the page under Tracking ID and it starts with UA
Once you’ve identified your tracking ID, you’ll got to get your tracking code snippet, which may be found on this page because the Global Site Tag (gtag.js
). The gtag.js
is that tracking code for this specific property and you’ll got to copy and paste this code to each webpage you would like to trace on your website.
To copy and paste your gtag.js
, continue on these steps:
- Copy the
gtag.js
shown on the page (example shown below) - Replace the
GA_TRACKING_ID
together with your unique tracking ID provided by Google Analytics - Paste the code snippet right after the
<head>
tag on each page of your site that you’d like to track in Google Analytics
SOURCE: Google Images
Thanks for reading this text. This story is about "How to add Google Analytics Code to your Website" and last modernize on Thursday, January 5, 2023. I'm sure your visit to us must be quite satisfying and in line together with your expectations from us.