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:

    /* custom configuration goes here (www.olark.com/documentation) */

    Add this line directly below:

    olark.configure("GoogleAnalytics.custom_tracking_id", "UA-XXXXXX-XX")

    Be sure to replace UA-XXXXXX-XX with your own Google Analytics tracking ID.