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
4.4K members online now
4.4K 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

GA - Cross Domain Goal

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi all,

 

I'm having issues measuring a cross-domain goal for a client. The user flow on the clients site is:

 

Site A -> User enters, select products and navigates all info.

Site B -> Contact Form

Site A -> Thank You Page (goal)

 

We implemented the cross-domain tracks and it works, but not entirely, because I still received the goals as "site B/referral". I've been checking and found that, always, for the form page the "next page path" was the same. Is it possible that's the problem?

 

I was thinking on implementing and event to track outbound links (https://support.google.com/analytics/answer/1136920?hl=en) that I found in another topic in this forum, will that solve it?

 

Thanks in advance!

1 Expert replyverified_user

Re: GA - Cross Domain Goal

Top Contributor
# 2
Top Contributor
Hi :-)
Did you add Site B to the Referral Exclusion List?
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: GA - Cross Domain Goal

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi,

Thanks for your answer.
I did it yesterday, but today I tried to see with data from today and i still have my source/medium as "site B/referral".

Re: GA - Cross Domain Goal

[ Edited ]
Top Contributor
# 4
Top Contributor

It wont fix the issue immediately, it will fix it going forward over time.
It should fix ift for new visitors, however returning visitors that are already cookied
as coming from siteB, they will remain being seen as such until such times as they
clear their cookies or return via a new source

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: GA - Cross Domain Goal

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Hi Bronwyn,
Me again.

I have run a report for the last 4 days (already having this implemented) and out of 38 goals, 37 came as "siteB.com/referral". How can I check if there's something wrong implemented or may it be something not working ok with the form on site B?

Thanks!

Re: GA - Cross Domain Goal

Top Contributor
# 6
Top Contributor

Hi :-)

Ok so siteA.com and siteB.com are both on the Referral Exclusion List


Is this how your tracking code is setup on both sites?

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXX-Y', 'auto', {allowLinker: true});
ga('require', 'linker');
ga('linker:autoLink', ['siteA.com', 'siteB.com'], false, true);
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->

 

OR

 

siteA.com

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXX-Y', 'auto', {allowLinker: true});
ga('require', 'linker');
ga('linker:autoLink', ['siteB.com'], false, true);
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->

 

siteB.com

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXX-Y', 'auto', {allowLinker: true});
ga('require', 'linker');
ga('linker:autoLink', ['siteA.com'], false, true);
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->

 

Clear you cookies, search for the siteA on google and then step thru the process

and see what the source shows up as in the Real Time overview

Also when you arrive back at siteA after filling in the form, does it have the linker parameter appended to the

page url that you land on?
the parameter should look similar to - 

_ga=1.199239214.1624002396.1440697407
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: GA - Cross Domain Goal

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭

Hi again Smiley Very Happy

 

 

Seen your codes i think we have a problem there. Here are the codes i have on each site:

 

site A

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXXXXX-Y', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['siteB.com.ar', 'siteC.com.ar', 'siteD.com.ar'] );
ga('send', 'pageview');

</script>

 

site B

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXXXXX-Y', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['siteA.com.ar'] );
ga('send', 'pageview');

</script>

 

From your response, I understand i'm missing some info on the following line (ex. site B):

ga('linker:autoLink', ['siteA.com.ar'] );

right?

 

 

On all the tests i ran, i never seen any linker parameter appended on the URL, how should i implement it?

 

Thanks a lot for all your help Smiley Very Happy

Re: GA - Cross Domain Goal

Top Contributor
# 8
Top Contributor
Hi :-)
How to the visitors get from siteA to siteB to fill in the form?
I'm assuming via a link they click. is it via some other different method?
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: GA - Cross Domain Goal

Visitor ✭ ✭ ✭
# 9
Visitor ✭ ✭ ✭
Yes, it's only vía click.


Rober de León
Online Media Planner
Ogilvy & Mather Argentina, Buenos Aires
Office: (+5411) 4779-4300 Int. 588


[https://assets.ogilvy.com/truffles_email/wwit_signatures/canneslion-12-13-14-15.jpg]

[https://assets.ogilvy.com/truffles_email/wwit_signatures/Ogilvy_Latina_Final_2014-15.jpg]



Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message, you should destroy this message. For more information on WPP's business ethical standards and corporate responsibility policies, please refer to WPP's website.

Re: GA - Cross Domain Goal

[ Edited ]
Top Contributor
# 10
Top Contributor

Do you have also have the View setup with the required filter to prepend the domain name to the page urls in the Behaviour > Site Content report

If you clear your browser cookies for all the sites, search for siteA.com on say Google search and click thru on the search result

In the Real Time overview you should be able to see the source / medium of your visit on SiteA as being Google / Organic
If you then click the link thru to siteB then the url should be appended with the linker parameter
and you should still see the source of the visit as being Google / Organic

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here