Google Analytics Cross Domain Tracking

A multipurpose module, plugin and component

Google Analytics Cross Domain Tracking

New postby leanne » Wed Mar 25, 2015 6:14 pm

HI - I am trying to get Cross Domain Tracking to work in a website where the content is sat in an iframe

This is a hotel website who use a third party booking company to manage room bookings and their booking form sits in an iframe

I have inserted, what appears to be good code, but the tracking does not work within the iframe

ANY ideas please?

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga('create', 'UA-17071782-1', 'auto', {'allowLinker': true});

// Load the plugin.
ga('send', 'pageview');
ga('require', 'linker');

// Define which domains to autoLink.
ga('linker:autoLink', ['',''],false,true);
Posts: 3
Joined: Tue May 20, 2014 9:16 am

Return to Jumi

Who is online

Users browsing this forum: No registered users and 3 guests