You want to find out your UID for a specific domain that you have set up with google analytics.
When you first create the tracking code for your website, it’s quite obvious how to get the UID for that specific website.
If you decide later on to change your site, from drupal to wordrpess for example, it’s not quite clear where to get this UID, to use it with the new tracking plugin in the new site (which still uses the same domain name).
After some searching it turns out that to be able to find it you have to do the following:
- Log in to your Google Analytics Account
- Click on the ‘Edit’ link under Settings for the domain you want to find the UID
- In the new page click on the link ‘Check Status’ after Receiving Data at the top
- Your UID should be in the text box with something like _uacct = “UA-xxxxxxx-x”;