Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dartur

    (@dartur)

    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.

    // Niklas

    Tom

    (@tawerkheiser)

    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

    (@dartur)

    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.

    According to this forum: https://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://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 https://www. I am using just the https://domain.com

    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.

    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.