23 Nov Cross Domain Tracking Insructions

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:

  1. Click Admin.
  2. In the ACCOUNT column, use the dropdown to select the Analytics account that contains the property you want to work with.
  3. In the PROPERTY column, use the dropdown to select a property.
  4. Click Tracking Info.
  5. Click Referral Exclusion List.
  6. Add the domain: sellwithchat.com
  7. Click Create to save.

The highlighted portion above should have the domain of the chat window.

No Comments

Sorry, the comment form is closed at this time.