What type of Google tracking should I use?

I have WP Multisite and now I want to track the different sites.
I’m using Multisite Domain Mapping to map www.mysite.com to http://subsite.mysite.com

My questions is:

a) Do I need to add the same google analytics script to all themes?
b) when creating the script at GA, I have the following choices:

  • A single domain (default)
  • One domain with multiple subdomains
  • Multiple top-level domains

Do I use nr 2 or 3?

I know there are plugins I can use. But I still have to create the scripts at GA, right?

3 Answers
3

Hook the script into the footer, which is easy enough.

http://wpmututorials.com/plugins/how-to-hook-into-the-footer/

As stated in the post, toss that into mu-plugins, it will track all your site, regardless of domain. GA can sort it out on their end.

totally do-able.

Leave a Comment