This is a public page that can be shared.
The goal is to ensure we track your original traffic source to your website as the source for pageviews and events on localmed.com. Normally, once a user transfers from your website to localmed.com, a new session is created and your website is treated as the traffic source.
Cross-domain tracking works by sharing a unique client ID between a source domain and a destination domain. To set up cross-domain auto-linking on the source domain (your website) for URLs pointing to the destination domain (localmed.com), follow the steps below.
Find the create method call in your site's code:
ga('create', 'UA-XXXXXXX-Y', 'auto');
Make the following changes to require the linker plugin and call its autoLink method:
ga('create', 'UA-XXXXXXX-Y', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['localmed.com']);
These changes must be made everywhere the create method call appears in your code.
Google Documentation: https://developers.google.com/analytics/devguides/collection/analyticsjs/linker#autolink