WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Google Analyticator] Page Speed – Google Tracking – Cookieless Domain

[Plugin: Google Analyticator] Page Speed – Google Tracking – Cookieless Domain

  • 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:

    _gaq.push(
    [‘_setAccount’, ‘UA-xxxxxxx-1’],
    [‘_setDomainName’, ‘www.example.com’],
    [‘_trackPageview’]
    );”

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anyone?

    Hi,

    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']);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Google Analyticator] Page Speed – Google Tracking – Cookieless Domain’ is closed to new replies.