To obtain your Google Analytic’s tracking code, you need to ensure that you are logged into your account at analytics.google.com. Once you are logged in, hover to the ADMIN tab from the top.
In the Administration page that opens up, click on the Tracking Info option under the PROPERTY heading:
From the options that appear, click on the Tracking Code option:
In the page that opens up, scroll down to the Website Tracking section, and click on the code present below:
This is the code that needs to be entered in your account, to allow Google Analytics to track and monitor all your website’s traffic data.
Copy this code and navigate back to your system.