Using multiple Google Analytics tracking IDs
If you use more than one Google Analytics IDs per page, you'll need to tell Olark which ID to use for tracking events on that page.
- Go to your Google Analytics integration page and turn on tracking of Olark Events.
- Under Advanced Options turn on Custom Tracking and hit save.
On your website's install code, look for this line:
/*custom configuration goes here (www.olark.com/documentation) */
Add this line directly below:
Be sure to replace UA-XXXXXX-XX with your own Google Analytics tracking ID.