Google Analyticator
Page Speed - Google Tracking - Cookieless Domain (3 posts)

  1. rhythmdoctor
    Posted 5 years ago #

    Hello, I am trying to speed up my site and all my images on my subdomain are showing cookies in the header from Google. I was reading - http://www.ravelrumba.com/blog/static-cookieless-domain/ where it says that you can specify only the main domain in the tracking code for Google analytics.

    "For Google Analytics, you have to set the “_setDomainName” value to your www domain. Like this:

    ['_setAccount', 'UA-xxxxxxx-1'],
    ['_setDomainName', 'www.example.com'],

    Using your plugin, which I want to keep, is there a way to add the " ['_setDomainName', 'www.example.com']," piece to the plugin? Thanks in advance.

  2. rhythmdoctor
    Posted 5 years ago #


  3. bogdanvursu
    Posted 5 years ago #


    I don't know if you've fixed this since your last post,
    but because I ended up here searching for the same thing and I actually managed to find a solution tot your problem, here's what I did (in version 6.1.1 of the plugin):
    The Google Analyticator Settings page has an options field called Additional tracking code (before tracker initialization):. In that field I added:
    _gaq.push(['_setDomainName', '.flashxml.net']);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic