Support » Fixing WordPress » Google Analytics

  • 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)
  • 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.

    I found that section, but I can’t remember where to put the code

    Is the existing code in the footer.php or header.php files of your theme?

    ok. I found that in my primary website. Will it track both sites if I put the code there?

    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.

    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.

    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.

    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?

    Try adding this plugin so you don’t have to edit theme files.

    http://wordpress.org/extend/plugins/google-analyticator/

    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.