Tuesday 14 March 2017

How To Find Your Tracking ID, Property Number, Tracking Code, And SDK Links

To find the tracking ID, property number, and tracking code snippet for an Analytics property:
  1. Sign in to your Analytics account.
  2. Click Admin.
  3. Select an account from the menu in the ACCOUNT column.
  4. Select a property from the menu in the PROPERTY column.
  5. Under PROPERTY, click Tracking Info > Tracking Code.
    Image of where you find your tracking code in your Analytics account.
    Click to expand this image and see where these options appear in the interface.
    Location of the tracking code, tracking ID, and property number in your account.
    Click to expand this image and see where the tracking ID, property number, and tracking code snippet appear in Analytics.

Tracking ID and property number

The tracking ID (1) is a string like UA-000000-2. It must be included in your tracking code to tell Analytics which account and property to send data to. It's automatically included in the JavaScript snippet for websites, but also needs to be included in other tracking technologies like the SDKs and the Measurement Protocol for Analytics to work. The first set of numbers (-000000, in the example above) refers to your account number, and the second set of numbers (-2) refers to the specific property number (2) associated with the account. The tracking ID is also included in the tracking code snippet.

Tracking code

The tracking code (3) is a snippet of JavaScript that collects and sends data to Analytics from a website. It’s automatically generated from every web property. You need to copy and paste the tracking code for your property into your web pages for Analytics to work. Learn more about how to set up the tracking code for a website.

SDKs

The tracking code snippet is only for collecting data from websites. Use the Analytics SDKs (4) to collect data from mobile apps, and use the Measurement Protocol to collect data from other digital devices like ticket kiosks and game consoles. The SDKs and the Measurement Protocol need to be set up by a developer. Links to information about each of the SDKs are located in the section of the tracking code.

0 comments: