To find the tracking code or your property ID in your Google Analytics account:
- Sign in to your Analytics account, and go to the admin page.
- Select an account from the dropdown in the Account column.
- Select a property from the dropdown in the Property column.
- Click Tracking Info.
The automatically generated tracking code snippet for web properties appears in the box. Note that any change you make to your tracking code in your development environment - like if you’ve added Events or Ecommerce tracking, for example - are not reflected in this snippet.
The property ID is a string like UA-000000-01. The first set of numbers (000000, in the example) refers to your account number, and the second set (01, in the example) refers to the specific property number associated with the account. The property ID is in large font on the Tracking Info page. You can also to see the entire string in the first few lines of the tracking code.