Track Olark Chats

WhatConverts can track chats from Olark and capture the complete marketing source attribution for each conversation. By connecting Olark to WhatConverts using webhooks, you'll see exactly which marketing campaigns are driving chat conversations.

Note: If you haven't added your WhatConverts tracking script to your website, add your tracking script. If you are using the WhatConverts WordPress Plugin, you will want to deactivate the plugin and place your WhatConverts Tracking Code above your Olark Integration Code.

Set Up Olark Tracking

To connect Olark to WhatConverts:

  1. Log in to your Olark account. At the top of the page, select “Settings” and then “Integrations”.
  2. Search for and select “Webhooks”.
  3. On the Webhooks page, add the following settings under Connect a Webhook:
    • URL to post to: https://process.iconnode.com/lead/integrations/olark/*****
      Replace the ***** with your WhatConverts Profile ID (a 5-digit number)
    • Send all transcripts automatically: Checked
    • Send offline messages: Checked
    • Send all events: Checked
    • Disable: Unchecked
  4. Click “Save” to activate the webhook.
  5. Track Olark Chats

Modify Your Olark Installation Code

To update your Olark installation code:

  1. Locate your existing Olark installation code on your website.
  2. Replace it with the following modified code:
    <script type="text/javascript" async>
    (function(o, l, a, r, k, y) {
        if (o.olark) return;
        r = "script";
        y = l.createElement(r);
        r = l.getElementsByTagName(r)[0];
        y.async = 1;
        y.src = "//" + a;
        r.parentNode.insertBefore(y, r);
        y = o.olark = function() {
            k.s.push(arguments);
            k.t.push(+new Date)
        };
        y.extend = function(i, j) {
            y("extend", i, j)
        };
        y.identify = function(i) {
            y("identify", k.i = i)
        };
        y.configure = function(i, j) {
            y("configure", i, j);
            k.c[i] = j
        };
        k = y._ = {
            s: [],
            t: [+new Date],
            c: {},
            l: a
        };
    })(window, document, "static.olark.com/jsclient/loader.js");
    olark('api.visitor.updateCustomFields', {
        'wc_source': oqhaqzwnbjgcpycneryg('wc_client')
    });
    olark.identify('*******');
    </script>
    

Note: Replace ******* with your Olark site ID.

Find Your Profile ID

To find your WhatConverts Profile ID:

  1. Log in to your WhatConverts account.
  2. Navigate to “Tracking” and open “Tracking Code”.
  3. Scroll to the WordPress Plugin section.
  4. Your Profile ID is the 5-digit number shown in this section.

Related Topics

Get a FREE presentation of WhatConverts

One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.

Schedule a Demo
ready to get marketing clarity?

Grow your business with WhatConverts

14 days free trial Easy setup Dedicated support
G2 Best Results Summer 2025 Badge
G2 Best Relationship Summer 2025 Badge
G2 Best Usability Summer 2025 Badge
G2 Most Implementable Summer 2025 Badge
G2 Momentum Leader Summer 2025 Badge