WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Subdomain not showing up in GA Stats (4 posts)

  1. anim8tr
    Member
    Posted 1 year ago #

    I'm not getting any data via Google Analytics (GA) for my subdomain and was wondering if there was any help doc on how to do this. I am receiving data for my primary domain though.

    I have my primary domain (www.[domain-name].com) on one host provider, and a blog (blog.[domain-name].com) set up with a different host provider. Both are using the same [domain-name].

    How do I configure the settings in "Google Analytics for WordPress" to track both in the same GA profile?

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. clairejv
    Member
    Posted 1 year ago #

    I'm working on this, as well. Here's the documentation from Google:

    https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite

    In the plugin, make sure Advanced Settings are showing. I think that in the Subdomain Tracking field, you enter [domain-name].com. I'm trying that right now.

  3. anim8tr
    Member
    Posted 1 year ago #

    Yep, I saw the doc. It's pretty much the same as the tracking code that's generated by Google Analytics for WordPress.

    I'm wondering if the issue is that even though my blog is setup as a subdomain, it's actually on a different Host/IP than my primary domain?

  4. anim8tr
    Member
    Posted 1 year ago #

    After a couple of changes, it looks like my subdomain is now being tracked in GA. What I did was set "_setAllowHash" to false (by checking the box).

    I missed this because it was further down the settings page. It would make more sense to position this option under the "Subdomain Tracking" setting towards the top. It would also be nice to have better help doc for this plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic