Browse Help Center
Browse Help Center
Join 20,000+ other marketers and start getting marketing clarity

Subscribe to our newsletter and get proven marketing strategies for growing your business.

Related Integrations
Chat Drift

Last update on June 19, 2020

Drift
Chat Livechat

Last update on June 19, 2020

Livechat
Chat Facebook Messenger

Last update on June 19, 2020

Facebook Messenger
Help Center Integrations

Olark Integration


Olark is a web chat service that you can place on your website to interact with visitors to your site. Along with Zapier, you can integrate Olark with WhatConverts and get your chat transcripts along with marketing data right on your WhatConverts dashboard.

    Note: If you haven't added your WhatConverts tracking code 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.

1"Copy" your Integration Code from Olark and "paste" it into a Notepad or Note file. Remove </script> and End of Olark Code from the script. "Paste" the following at the end of your Integration Code.

var cookie = oqhaqzwnbjgcpycneryg('wc_client');
var [source,medium,campaign,content,keyword,gclid,landing_page,msclkid] = ['','','','','','','',''];
if (cookie) {
    var cookie_parts = cookie.split('+..+');
    if (cookie_parts[0])
        source = cookie_parts[0];
    if (cookie_parts[1])
        medium = cookie_parts[1];
    if (cookie_parts[2])
        campaign = cookie_parts[2];
    if (cookie_parts[3])
        content = cookie_parts[3];
    if (cookie_parts[4])
        keyword = cookie_parts[4];
    if (cookie_parts[5])
        gclid = cookie_parts[5];
    if (cookie_parts[6])
        landing_page = cookie_parts[6];
    if (cookie_parts[8])
        msclkid = cookie_parts[8];
}
olark('api.visitor.updateCustomFields', {
    source: source, 
    medium: medium, 
    campaign: campaign, 
    content: content, 
    keyword: keyword, 
    gclid: gclid, 
    msclkid: msclkid, 
    landing_page: landing_page
});
</script>

2Replace your Olark Integration Code on your website, with the new Olark Integration Code.
3Go to Zapier and "Make a Zap". Select "Olark" as your Trigger App and "New Transcript" as the Trigger.

    Note: As you continue through setting up Olark in Zapier, you will be prompted to follow Zapier's instructions to connect to a Webhook in Olark. Make sure to have Send all transcripts automatically, Send offline messages and Send all events "checked" in the Connect to a Webhook box in Olark.

Olark Webhook Information

Test your Trigger step on your website by starting and ending a chat, click "Test and Review" to pull in sample chats. Click the "gray down arrow" to review the chat and test to make sure you're using the most recent chat that ended. Click "Done Editing".

4Click "+" and add "WhatConverts" as your Action Step. Select "Create Lead" then click "Continue". Select your WhatConverts account to integrate with Olark.

    Note: If you have not set up a WhatConverts account in Zapier, you can follow the detailed instructions in Connecting to Zapier.

Set up your Template as follows:

    Lead Type: Chat
    Profile: Your WhatConverts Profile
    Referrer Source: Visitor Custom Fields Source
    Referrer Medium: Visitor Custom Fields Medium
    Referrer Campaign: Visitor Custom Fields Campaign
    Referrer Content: Visitor Custom Fields Content
    Referrer Keyword: Visitor Custom Fields Keyword
    IP Address: Visitor IP
    Gclid: Visitor Custom Fields Gclid
    Lead Page: Visitor Conversation Begin Page

Add the following field under Additional Fields:

    Transcript: Conversation

WhatConverts Template for Olark

Click "Continue" and send a test to WhatConverts. When the test is successful, you can name your Zap and turn your Zap "on".

Was this page helpful?
👍Yes
👎No
Request a Live Demo
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.

Request a Live Demo
Whatconverts Features for your Business
Web Chat Lead Reporting
Lead Tracking Web Chat Lead Reporting

Automatically track visitors back to the marketing source, medium, campaign, ad and keyword.

Chat Tickets Captured
Lead Tracking Chat Tickets Captured

We capture the full chat ticket information and store the lead with its marketing data.

Add Marketing Data to Chat
Lead Tracking Add Marketing Data to Chat

WhatConverts reports web chats as a conversion action, revealing which marketing drives chats.

Full Chat Transcripts
Lead Tracking Full Chat Transcripts

See the full chat transcript alongside lead details, instantly.

Join 20,000+ other marketers and start getting marketing clarity

Subscribe to our newsletter and get proven marketing strategies for growing your business.

Related Integrations
Chat Customerly

Last update on June 19, 2020

Customerly
Forms JivoChat

Last update on April 16, 2020

JivoChat
Chat Landbot.io

Last update on June 19, 2020

Landbot.io
ready to get marketing clarity?

Grow your business with WhatConverts

14 days free trial Easy setup Dedicated support