|Goals from subdomain - conversion url is on the main domain?|
I have analytics setup tracking
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?
Hello, has anyone seen this and able to offer any help? Thanks!
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.
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:
Profile 1 - mydomain.com
Profile 2 - sub.mydomain.com
Do you have any advice/links/documentation on how to move forward with your suggestion?
In your GA tracker, set it up something like the below example. (pageload speed tracking is optional :P ).
To append hostnames to URIs in your rollup profile, just create an advanced filter.
Field A - Hostname : (.*)
Field B - Request URI : (.*)
Output - $A1$B1
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.
"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?