Wordpress Multisite and Google Analytics in subfolders with mapped domains
Posted
by
David
on Pro Webmasters
See other posts from Pro Webmasters
or by David
Published on 2012-05-08T10:25:03Z
Indexed on
2012/06/07
16:48 UTC
Read the original article
Hit count: 301
I have a wordpress multisite with sub folders. The site's subfolders are mapped to domains, which are set to primary.
I'm using the 'Google Analytics Multisite Async' code to track things.
From what I can see it's tracking the sites fine (getting page hits for each site in google analytics) baring the original site in the Multisite which in content overview lists domains then the amount of traffic it's getting along with the orginal domains traffic.
I don't want to track any other traffic for my orginal site than what goes to that. i.e. I don't want it tracking my other sites in multi-site.
e.g. domain1.com is my orginal and I have lots of other sites in the multisite lets say domain2.com, domain3.com.
In content overview in Analytics it's listing say domain2.com as content. Can I tell it to filter these out some how either in Analytics or within WordPress?
Hopefully explained that clearly!
© Pro Webmasters or respective owner