| How to create and track Hubpages styled subdomains for my site?
|
epmaniac

msg:4343881 | 6:25 am on Jul 26, 2011 (gmt 0) | just like hubpages, i recently converted my site which has ton of user generated content by creating subdomains hub style way (i.e. according to author) now as hundreds of subdomains have been created, would I see now a drop in traffic in google analytics (because in analytics i am not tracking individual subdomains, i am only tracking main domain) so what should i do to track whole traffic? how should i create subdomains which are generated dynamically as new authors sign up and start posting? how should i track the amount of the traffic they are getting through analytics?
|
chrism

msg:4344131 | 4:26 pm on Jul 26, 2011 (gmt 0) | You can track subdomains into the same profile. Instructions (very loosely termed 'instructions') here: [google.com...] hope this is what you're looking for!
|
chrism

msg:4344135 | 4:32 pm on Jul 26, 2011 (gmt 0) | Actually I'm not 100% that's going to give you the information you need. I have added a filter to the profile in Analytics with the following settings: Filter type: custom filter / Advanced Field A -> Extract A: Hostname / (.*) Field B -> Extract B: Request URI / (.*) Output to -> Constructor: Request URI / $A1$B1 Field A Required: Yes Field B Required: No Override Output Field: yes Case sensitive: No My understanding of what this does may be completely wrong, but I think it means call the hostname (ie subdomain.example.com) Field A, then the path to the web page Field B. Put them both together and report the whole lot where analytics would normally report just the bit after the domain name. hopefully you can make some sense of that! Chris
|
rlange

msg:4344491 | 2:33 pm on Jul 27, 2011 (gmt 0) | Google Analytics has a specific option for tracking subdomains when generate your tracking code. For some reason, though, the different GA interfaces give you different tracking code. When you select "One domain with multiple subdomains", the current version adds a single line... | _gaq.push(['_setDomainName', '.example.com']); |
| ...whereas the new version adds two lines... _gaq.push(['_setDomainName', 'example.com']); _gaq.push(['_setAllowHash', 'false']); |
| I'm not sure which one is preferred. Edit: Pff... The "Modify the tracking code" link on the page chrism linked to above blends the two into a third option; the two lines from the new interface, but with the dot-prefixed domain name of the current interface. Google, Google, Google... -- Ryan
|
netmeg

msg:4344511 | 3:32 pm on Jul 27, 2011 (gmt 0) | I had a hard time getting subdomain tracking right in GA, at least, it never seemed to be right to me.
|
|
|