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:
- Log in to your Olark account. At the top of the page, select “Settings” and then “Integrations”.
- Search for and select “Webhooks”.
- 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
- URL to post to: https://process.iconnode.com/lead/integrations/olark/*****
- Click “Save” to activate the webhook.
Modify Your Olark Installation Code
To update your Olark installation code:
- Locate your existing Olark installation code on your website.
- 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:
- Log in to your WhatConverts account.
- Navigate to “Tracking” and open “Tracking Code”.
- Scroll to the WordPress Plugin section.
- 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