AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2K members online now
2K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

How to setup goals for onboarding registrations, with different URL domains

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I have a normal website URL for Google Analytics; for example www.michel.com,

but want to setup our registration webpages via a different domain: my.michel.com/account for example.

 

As www.michel.com will be registered as my Google account, is it possible to setup the goal trackings via the my.michel.com? And how do I edit this? - /account?

 

Need your help! Thanks in advance.

 

Kind regards,

Michel 

Re: How to setup goals for onboarding registrations, with different URL domains

Explorer ✭ ✭ ☆
# 2
Explorer ✭ ✭ ☆
Hi Michel,

What you want to do is regular subdomain tracking. It's easy to setup. Assuming that you're deploying Google Analytics via Google Tag Manager you need to add in every Universal Analytics Tag in section Fields to set field name "cookieDomain" (without quotation marks) with value "auto" (also without quotation marks). And it's all done - your GA would track all of your pages including my.michel.com/account.

However it would not include your domain name so www.michel.com/index would be the same as my.michel.com/index. To see full URL with domain you need to do one of the following actions:

1. Add "page" field in "Fields to set" section of all Universal Analytics Tags with value {{URL hostname}}/{{URL path}}
or

2. In the view that you want to see your data in you need to add a special filter that will add a hostname to all URLs. Here is tutorial on how to do this: https://support.google.com/analytics/answer/1012243?hl=en
You can add filter by going to Administration, selecting View and there you should see "Filter" link in the column below

Additionally add all of your subdomains to your Property's 'Referral Exclusion List' to prevent self-referrals.

Then if you'd like to setup goal tracking on my.michel.com/account then go to the Administration, select View->Goals and set up goal of destination type. In destination field enter "/account" (without quotation marks). Just remember that you don't enter full URL there only what goes after first "/". So in your example for goal being defined as my.michel.com/account you need to enter /account.

If there is something more that you'd need to know or some clarification is required - please let me know. I'd be glad to help.

Here is a really good tutorial that encompasses everything that I wrote above: http://www.ericmobley.net/guide-to-tracking-multiple-subdomains-in-google-analytics/