Cross Domain Tracking Insructions
Posted at
To tracking information accross multiple, related sites as a single session you’ll need to set up cross-domain tracking. To ensure this tracking plays nice with ApexChat, use the following instructions:
Changes in GA code on Customer Website:
Current Code:
ga(‘create’, ‘UA-12345678-9’, ‘auto’);
ga(‘send’, ‘pageview’);
Change To:
ga(‘create’, ‘UA-12345678-9’, ‘auto’, { ‘allowLinker’: true });
ga(‘require’, ‘linker’);
ga(‘linker:autoLink’, [‘sellwithchat.com’, ‘www.sellwithchat.com’]);
ga(‘send’, ‘pageview’);
The highlighted portion above should have the domain of the chat window.
Google Analytics Setup:
- Click Admin.
- In the ACCOUNT column, use the dropdown to select the Analytics account that contains the property you want to work with.
- In the PROPERTY column, use the dropdown to select a property.
- Click Tracking Info.
- Click Referral Exclusion List.
- Add the domain: sellwithchat.com
- Click Create to save.
The highlighted portion above should have the domain of the chat window.
Sorry, the comment form is closed at this time.