Title: [Plugin: Google Analytics Multisite Async] domain mapping
Last modified: August 19, 2016

---

# [Plugin: Google Analytics Multisite Async] domain mapping

 *  [ronniead](https://wordpress.org/support/users/ronniead/)
 * (@ronniead)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/)
 * Hi,
 * Will this plugin work with “domain mappin plugin”. Also, in google analytics,
   will I be able to see traffic per domain?
 * thanks for the plugin!
 * Ronnie
 * [http://wordpress.org/extend/plugins/google-analytics-multisite-async/](http://wordpress.org/extend/plugins/google-analytics-multisite-async/)

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

 *  Plugin Author [Dartur](https://wordpress.org/support/users/dartur/)
 * (@dartur)
 * [15 years ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/#post-2059269)
 * Hi Ronnie,
 * A guy named Nathan who use domain mapping used my plugin and added a line “_gaq.
   push([‘_setAllowLinker’, true]);” in the tracking code and also put the network
   domain name to “none” and he says it works. For cross traffic between blogs you
   have to add a _link to the links, more on this [here](http://www.google.com/support/forum/p/Google+Analytics/thread?tid=0d0ef8c223dd6a28&hl=en).
 * // Niklas
 *  [Tom](https://wordpress.org/support/users/tawerkheiser/)
 * (@tawerkheiser)
 * [15 years ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/#post-2059276)
 * Did you get this to work? Whenever I try it, it only tracks the main domain not
   the other sites. I am using domain mapping as well. I tried adding both of what
   you suggested, still didn’t work.
 *  Plugin Author [Dartur](https://wordpress.org/support/users/dartur/)
 * (@dartur)
 * [15 years ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/#post-2059277)
 * I have not tried it myself, I do not use domain mapping. I’ve sent the guy who
   says it works an email and asked him to join the discussion here.
 *  [ng.tinyreef](https://wordpress.org/support/users/ngtinyreef/)
 * (@ngtinyreef)
 * [15 years ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/#post-2059279)
 * According to this forum: [http://www.google.com/support/analytics/bin/answer.py?answer=55503](http://www.google.com/support/analytics/bin/answer.py?answer=55503)
 * I believe this code must also be added:
 * <script type=”text/javascript”>
    var gaJsHost = ((“https:” == document.location.
   protocol) ? “[https://ssl.&#8221](https://ssl.&#8221); : “[http://www.&#8221](http://www.&#8221););
   document.write(unescape(“%3Cscript src='” + gaJsHost + “google-analytics.com/
   ga.js’ type=’text/javascript’%3E%3C/script%3E”)); </script> <script type=”text/
   javascript”> try{ var pageTracker = _gat._getTracker(“UA-12345-1”); pageTracker.
   _setDomainName(“none”); pageTracker._setAllowLinker(true); pageTracker._trackPageview();}
   catch(err) {} </script>
 * I believe this will work however with my sites I am not using [http://www](http://www).
   I am using just the [http://domain.com](http://domain.com)
 *  [ng.tinyreef](https://wordpress.org/support/users/ngtinyreef/)
 * (@ngtinyreef)
 * [15 years ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/#post-2059280)
 * After creating a new Analytic Account (master tracking) and then a new report
   for the main host (domain.com) I then had to add a new website profile for each
   additional site on the network I wanted to track HOWEVER there is a catch.
 * From your Master Trackin account click Analytics Settings and then +Add new profile
 * Then select “Add a Profile for an existing domain”
 * Select the Domain of your main WordPress MultiBlog install and then type a profile
   name to associate your next site on the network (domain2.com)
 * Set the time and area as needed and click Continue
 * This creates a new site profile however it should be yellow flagged
    CLICK EDIT
 * Notice how in:
 * Main Website Profile Information
    it still says the main host name (domain.com)
 * click edit (to the right on the grey bar)
    and then change the website URL to
   the appropriate site name (domain2.com)
 * Now check the tracking status and make sure it is installed.
 * Now you should be able to track your wordpress multiblogs with one Analytics 
   account.
 *  [bhavi](https://wordpress.org/support/users/bhavi/)
 * (@bhavi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/#post-2059310)
 * Hi I am new to analytics.. I have a blog that has multiple sub domains for example.
 * Main blog : blog.example.com
    Sub domain blogs : test.blog.example.com, test1.
   blog.example.com
 * I wish to use this plugin but had a few doubts.
    1) Does each sub domain blog
   need to have their individual analytic account? If yes, then do we have 2 analytics
   code running on each sub domain blog pages… one with multi domain tracking code
   and one with indiaviual site analytics.
 * 2) In the screen shot it showed that the network admin needs to add the google
   analytics ID for the network and even the site admin gets an option to add the
   Analytics ID to track their own blog. In this case what is the Google Analytics
   ID that the site admin should, the general ID that that they have for their individual
   blog or the network analytics ID then we create for the multi domain tracking.

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

The topic ‘[Plugin: Google Analytics Multisite Async] domain mapping’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-analytics-multisite-async.
   svg)
 * [Google Analytics Multisite Async](https://wordpress.org/plugins/google-analytics-multisite-async/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-multisite-async/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-multisite-async/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-multisite-async/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-multisite-async/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-multisite-async/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [bhavi](https://wordpress.org/support/users/bhavi/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-google-analytics-multisite-async-domain-mapping-1/#post-2059310)
 * Status: not resolved