You need to sign in to do that
Don't have an account?
annette.hamilton1.3947453971418005E12
How can I add Linker Parameters for cross-domain linking?
Hello everyone! We are developing a new web site on the Sitecore CMS and we would like to be able to track Live Chats via Universal Analytics.
When attempting to set up cross-domain linking between modspace.com and the live chat domain, we ran into problems decorating the link that was being passed to the live chat. This problem arises because the Live Chat button is set up to initiate javascript that works similar to a link click but is unrecognizable to traditional tracking scripts. Because of this, we are unable to intercept and append the GA Linker parameter to the Live Chat URL.
We're assuming that the SalesForce script includes some kind of function that involves decorating the target link w/ parameters. If this is the case, we'd like to add the following "linker" parameter to the target URL that is passed into the Live Chat window.
Example value: _ga=1.231587807.1974034684.1435105198
Example usage:
// Alerts the linker parameter for the default tracker.
ga(function(tracker) {
alert(tracker.get('linkerParam'));
});
Once the "linker" parameter is called within the javascript, they should be able to append it to the target URL, which should be read by the GA code that's on the Live Chat.
Is this something that we can do? If so, where would we add the linker parameter code?
Thanks,
Annette
When attempting to set up cross-domain linking between modspace.com and the live chat domain, we ran into problems decorating the link that was being passed to the live chat. This problem arises because the Live Chat button is set up to initiate javascript that works similar to a link click but is unrecognizable to traditional tracking scripts. Because of this, we are unable to intercept and append the GA Linker parameter to the Live Chat URL.
We're assuming that the SalesForce script includes some kind of function that involves decorating the target link w/ parameters. If this is the case, we'd like to add the following "linker" parameter to the target URL that is passed into the Live Chat window.
Example value: _ga=1.231587807.1974034684.1435105198
Example usage:
// Alerts the linker parameter for the default tracker.
ga(function(tracker) {
alert(tracker.get('linkerParam'));
});
Once the "linker" parameter is called within the javascript, they should be able to append it to the target URL, which should be read by the GA code that's on the Live Chat.
Is this something that we can do? If so, where would we add the linker parameter code?
Thanks,
Annette
Were you able to solve your cross-domain tracking issue? I am having the same problem. Thanks for any advise you might have.
Cheers,
Caleb