Provide 24/7 affordable customer service with AI-powered chat.
Connect to learn more

Using multiple Google Analytics tracking IDs

NOTE: This article pertains to Google's Universal Analytics which was sunset in June, 2023. Please see this article for information on using GA4 with Olark.

Settings

If you use more than one Google Analytics IDs on your site, you'll need to tell Olark which ID to use for tracking events on that page.

Olark can only send events to one Google Analytics account per page.

  1. Go to your Google Analytics integration page and turn on tracking of Olark Events.
  2. Under Advanced Options turn on Custom Tracking and hit save.
  3. On your website's install code, look for this line:
  4. /* custom configuration goes here (www.olark.com/documentation) */
  5. Add this line directly below:
  6. olark.configure("GoogleAnalytics.custom_tracking_id", "UA-XXXXXX-XX")
  7. Be sure to replace UA-XXXXXX-XX with your own Google Analytics tracking ID.
Please provide the domain name where your Olark live chat is installed.
Include the relevant transcript URL, if possible. You can send us the specific URL from your Transcripts page.
If you see specific error messages, banners, warnings, notices, etc., please let us know here.
Max file size 10MB.
Uploading...
fileuploaded.jpg
Upload failed. Max size for files is 10 MB.
Thank you! Your submission has been received and you'll hear from us shortly!
Oops! Something went wrong while submitting the form.