The Google Analytics tracking code or ID is a unique identifier that allows Google Analytics to collect information from a website. Information such as number of users visiting the website, browser used, part of the world from where they connected, time spent on each page, among other important data.

We must add the code directly in the HTML of the site.

The tracking code is a series of numbers and letters. The first letters indicate the Google Analytics version, while the long string of numbers corresponds to your account ID.

google analytics tracking id
Tracking ID for older Google Analytics accounts.
google analytics tracking id
Measurement ID for new accounts. This is the default option.

Universal Analytics

(Existing accounts, if you have just created the GA account, this option is not the right one)

To find the Universal Analytics tracking ID:

  1. Open Google Analytics
  2. Click on the ‘Manage’ tab (gear icon at the bottom left).
  3. In the left column, click on Tracking information.
  4. Click on ‘Tracking code
  5. Your code will be available here. For Universal Analytics users, codes begin with “UA”.
  6. Copy this code and let us know.

GA4 measurement ID

(For new accounts)


To find the Google Analytics measurement ID 4:

  1. Open Google Analytics
  2. Click on the ‘Manage’ tab (gear icon at the bottom left).
  3. In the left column, click on Data Flows.
  4. Select a data stream from the list (usually it will be the Web option).
  5. The code will appear in the upper right corner of the page. For GA4 users, codes begin with “G”.
  6. Copy this code and let us know.

Leave a Reply