Jump to content

Recommended Posts

I have a question I am sure a seasoned Google Analytics user can answer fast. I am new to using analytics and I don't think I have it configured right for the way in which I am using my domain with subdomains.

This is what I have:

mysite(dot)com - my web space. Right now it has a redirect to go to the below:

incept.mysite(dot)com - forums for game discussion and tutorials(smf inspired by phpfreaks woot)

I like to think I have smf understanding down. I place my analytics code into the template index file before it prints </head>.

 

On google analytics, I have web properties set to hxxp://incept.mysite(dot)com On the tracking code configuration I have one site with multiple subdomains.

 

For some reason I don't feel this is tracking quite right. I also have an issue where going to hxxp://incept.mysite(dot)com works until you click a link and then it goes to mysite(dot)com/forumfolder/file.php and the navigation goes from there. Any ideas on more info I can provide to help trouble shoot some of this?

 

Thanks a ton in advance.

Link to comment
https://forums.phpfreaks.com/topic/252053-google-analytics-config-with-subdomain/
Share on other sites

Make sure to have the following since you're using subdomains:

_gaq.push(['_setDomainName', '.mysite.com']);

 

And I'd change the web properties to the highest domains (in this case http://mysite.com)

 

There are several tools to debug - GA has a Chrome Extension. My favorite (and what I use daily) is Firebug + Omnibug for Firefox.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.