Set up the analytics global site tag

      193

The most frequently asked questions about Google Analytic’s property tracking ID get answered.

Bạn đang xem: Set up the analytics global site tag

What is Google Analytics’ property tracking ID (và how bởi vì I use it)?

Google Analytics’ property ID is the identifier associated with your tài khoản and used by Google Analytics to collect the data.

It does not matter how you sover data to Google Analytics—whether using the standard tracking code provided by Google Analytics; Global Site Tag, which was introduced by Google in 2017; Google Tag Manager or any other tag management system; Measurement Protocol or Firebase. If you use any plugin or embed the tracking code directly in the webpages, you always have lớn specify a property tracking ID to associate the collected data with the specific property in your tài khoản.

*

A Google Analytics property has the following structure:

*

The UA prefix stands for “Universal Analytics,” which is the current version of Google Analytics. The numbers that follow are the Google Analytics trương mục ID. The postfix number is the index number of the property connected lớn the account. It is possible khổng lồ have up lớn 50 properties connected to the same Google Analytics tài khoản, so the postfix can be from 1 to 50.

Xem thêm:

The Google Analytics property tracking ID can be used as a part of Global Site Tag, which is provided in the admin area of the tài khoản.

*

If you configure tracking with Google Tag Manager, the tracking ID is the only code you need from Google Analytics because GTM has a special tag lớn implement Google Analytics and takes care of the rest of the code.

Here is the Universal Analytics tag in Google Tag Manager:

*

Here is the Universal Analytics variable in which the tracking property ID must be provided và other settings can be configured:

*

If plugins are used lớn embed Google Analytics, they may require you to either type the property ID in the settings field or provide full tracking code, which will also include the property ID.