Analytics
4.7K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Cross Domain Analytics Goal Flow Tracking

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi Team,

 

I need a solution for cross-domain analytics funnel tracking.

 

I have a website http://example.com and my sales page is http://my.example1.com and checkout done through 2checkout.com.

 

The current analytics code in my http://example.com website is

 

<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-70xxxxxx-1', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['my.example1.com'] );
ga('send', 'pageview');

</script>


The current analytics code in our http://my.example1.com website is

 

<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-70xxxxxx-1', 'auto', { 'allowLinker': true });
ga('require', 'linker');
ga('linker:autoLink', ['example.com']);
ga('send', 'pageview');

</script>

 

Checkout completed from http://2checkout.com

 

and thank you URL is http://my.example1.com/ordercomplete

 

Kindly suggest me how I can set goal funnel to track my product sales.

 

Also suggest me any changes

 

Thank You