homepage Welcome to WebmasterWorld Guest from 54.226.147.84
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
Goals from subdomain - conversion url is on the main domain?
esprague

5+ Year Member



 
Msg#: 4357859 posted 5:10 am on Sep 2, 2011 (gmt 0)

Hello,

I have analytics setup tracking

mydomain.com
sub.mydomain.com

mydomain.com is setup to track goals, which is a regular expression match. Anytime anyone visits any page in mydomain.com/Referrals/ it counts it as a goal.

The problem comes when trying to do the same for the subdomain. I want to track how many goals were completed from sub.mydomain.com but the goal url is the same as the main domain, mydomain.com/Referrals/. So when someone is on sub.mydomain.com, and clicks on a link like mydomain.com/Referrals/link.html, it should count it as a goal on sub.mydomain.com.

I hope I explained that clearly, please ask if it doesn't make sense. Anyone have any advice?

Greatly appreciated.

 

esprague

5+ Year Member



 
Msg#: 4357859 posted 7:20 pm on Sep 6, 2011 (gmt 0)

Hello, has anyone seen this and able to offer any help? Thanks!

still



 
Msg#: 4357859 posted 10:31 pm on Sep 6, 2011 (gmt 0)

Do you have separate profiles for your domain and subdomain?
How many entry points into your goal are there?

You could always create a rollup profile, create a custom filter to append the hostname to the URI and set up your funnels/goals accordingly.

esprague

5+ Year Member



 
Msg#: 4357859 posted 5:44 am on Sep 8, 2011 (gmt 0)

Thanks for your reply.

Yes, I have separate profiles on the same account and there are many entry points to the goal - hundreds of different links and pages. Basically, anytime the user ends up at any page in the mydomain.com/Referrals/ directory it is counted as a goal.

Right now the setup looks like:

GA Account
Profile 1 - mydomain.com
Profile 2 - sub.mydomain.com

Do you have any advice/links/documentation on how to move forward with your suggestion?

still



 
Msg#: 4357859 posted 5:49 am on Sep 9, 2011 (gmt 0)

In your GA tracker, set it up something like the below example. (pageload speed tracking is optional :P ).
--------------------------------------

_gaq.push(
['main._setAccount', 'UA-#*$!#*$!'],
['main._setDomainName', 'none'],
['main._trackPageview'],
['main._trackPageLoadTime'],
['rollup._setAccount', 'UA-#*$!#*$!'],
['rollup._setDomainName', 'none'],
['rollup._setAllowLinker', true],
['rollup._trackPageview'],
['rollup._trackPageLoadTime']);

----------------------------------

To append hostnames to URIs in your rollup profile, just create an advanced filter.

Field A - Hostname : (.*)
Field B - Request URI : (.*)
Output - $A1$B1

Good luck.

zefroth



 
Msg#: 4357859 posted 2:29 pm on Sep 9, 2011 (gmt 0)

Do both the profiles have the same web property IDs (UA-#*$!XX-YY)? In other words, have you implemented sub-domain tracking between the sub-domains?

If yes, there might be a simpler way to do this.

esprague

5+ Year Member



 
Msg#: 4357859 posted 4:22 pm on Sep 23, 2011 (gmt 0)

"Do both the profiles have the same web property IDs (UA-#*$!XX-YY)? In other words, have you implemented sub-domain tracking between the sub-domains?

If yes, there might be a simpler way to do this. "

They did not but I just setup a new profile which allows for subdomain tracking and added to the main and sub domain.

Are you able to expand on the simpler way to do this?

Thanks

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved