Welcome to WebmasterWorld Guest from 107.20.34.173

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

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

     

esprague

5:10 am on Sep 2, 2011 (gmt 0)

10+ Year Member



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

7:20 pm on Sep 6, 2011 (gmt 0)

10+ Year Member



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

still

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:44 am on Sep 8, 2011 (gmt 0)

10+ Year Member



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

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

2:29 pm on Sep 9, 2011 (gmt 0)

5+ Year Member



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

4:22 pm on Sep 23, 2011 (gmt 0)

10+ Year Member



"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
 

Featured Threads

Hot Threads This Week

Hot Threads This Month