Tracking one main domain with 120 sub domains.

Discussion in 'Google Analytics' started by dheeruyadav, Nov 9, 2010.

  1. #1
    Hi Every one,
    I have a site www.site.com and 120 sub domains like www.a.site.com, www.b.site.com , www.c.site.com and so on. Now i am using this code for main domain and all sub domain.

    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-XXXXXX-X']);
    _gaq.push(['_setDomainName', '.site.com']);
    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>


    Now the problem i am facing is , one account can accommodate only 50 profile( sub domains) and to add more i need to create different account , which will have different GA ID, like UA-YYYYY-X.

    Pls guide me about how to set up analytics for a site with 120 sub domins.


    Thanks
    Post reply
     
    dheeruyadav, Nov 9, 2010 IP