Title: Google Analytics
Last modified: August 20, 2016

---

# Google Analytics

 *  [corinnek](https://wordpress.org/support/users/corinnek/)
 * (@corinnek)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/)
 * Can someone tell me how to set up Google Analytics where it tracks more than 
   one site?
    When I started my website, I set it but I have NOOO idea how. I just
   set up an addon domain and would like to track it too but i haven’t a clue how.
   Thank you

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [itsonlybarney](https://wordpress.org/support/users/itsonlybarney/)
 * (@itsonlybarney)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613448)
 * You will need to go back to your Google Analytics account, and get the updated
   Google Analytics code to track multiple domains for a site.
 *  Thread Starter [corinnek](https://wordpress.org/support/users/corinnek/)
 * (@corinnek)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613451)
 * I found that section, but I can’t remember where to put the code
 *  [itsonlybarney](https://wordpress.org/support/users/itsonlybarney/)
 * (@itsonlybarney)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613453)
 * Is the existing code in the footer.php or header.php files of your theme?
 *  Thread Starter [corinnek](https://wordpress.org/support/users/corinnek/)
 * (@corinnek)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613455)
 * ok. I found that in my primary website. Will it track both sites if I put the
   code there?
 *  [itsonlybarney](https://wordpress.org/support/users/itsonlybarney/)
 * (@itsonlybarney)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613457)
 * Do both domains point to the same blog?
 * It will only track visitors that arrive directly on a page from the addon domain.
   Most links within WordPress will point to the domain that is set on the General
   Settings page of WordPress, and thus any visitors arriving via the addon domain
   will eventually end up on the main domain.
 *  Thread Starter [corinnek](https://wordpress.org/support/users/corinnek/)
 * (@corinnek)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613462)
 * uhm, no. I’m confused. They look like separate websites but one is an addon. 
   I’m not sure if I’m explaining it right.
 *  [itsonlybarney](https://wordpress.org/support/users/itsonlybarney/)
 * (@itsonlybarney)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613470)
 * So the domains are for two different WordPress blogs?
 * If the two blogs are completely separate, then you can just create separate Google
   Analytics tracking codes, one for each domain, and insert the code into the correct
   blog.
 *  Thread Starter [corinnek](https://wordpress.org/support/users/corinnek/)
 * (@corinnek)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613473)
 * I suppose I can do that even though one is an addon domain. I will try that.
   
   My primary theme actually has a place to put in the code. The other site does
   not. Where am I supposed to copy it to?
 *  [itsonlybarney](https://wordpress.org/support/users/itsonlybarney/)
 * (@itsonlybarney)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613477)
 * Try adding this plugin so you don’t have to edit theme files.
 * [http://wordpress.org/extend/plugins/google-analyticator/](http://wordpress.org/extend/plugins/google-analyticator/)
 *  Thread Starter [corinnek](https://wordpress.org/support/users/corinnek/)
 * (@corinnek)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613479)
 * thank you!
    is it possible to create more than one code on the same account? 
   or do I need to make an entirely new google account?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Google Analytics’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [corinnek](https://wordpress.org/support/users/corinnek/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-52/#post-2613479)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
