1. Home
  2. Docs
  3. Integrations
  4. Crisp Chat Integration

Crisp Chat Integration

Crisp is a web chat service that you add to your website to interact with visitors to your site. Using Zapier, you can integrate Crisp with WhatConverts and get your chat infomration with marketing data on your WhatConverts dashboard.

    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 Crisp Integration Code

1On your website where you have placed your Crisp HTML Code, add the following below your Crisp HTML 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];
$crisp.push(['set','session:data', [[
    ['source', source],
    ['medium', medium],
    ['campaign', campaign],
    ['content', content],
    ['keyword', keyword],
    ['gclid', gclid],
    ['landing_page', landing_page],
    ['msclkid', msclkid]

2Go to Zapier and “Make a Zap“. Select “Crisp” as your Trigger App and “New Conversation” as the Trigger.

    Note: As you continue through setting up Crisp in Zapier, you will be prompted to follow Zapier’s instructions to log into Crisp.

Click “Test & Review” to test your Trigger step, click the “gray down arrow” to view your chat details, select the “radio button next to the chat and then click “Done“.

3Click “Do This…” and add “WhatConverts” as your Action Step. Select “Create Lead” then click “Continue“. Select your WhatConverts account to integrate with Crisp.

    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: Meta Data Source
    Referrer Medium: Meta Data Medium
    Referrer Campaign: Meta Data Campaign
    Referrer Content: Meta Data Content
    Referrer Keyword: Meta Data Keyword
    Gclid: Meta Data Gclid
    Lead Page: Visitor Conversation Begin Page

Add the following field under Additional Fields:

    Email: Meta Email
    Session ID: Session ID
    Last Message: Last Message

WhatConverts Lead for Crisp

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

4Go to WhatConverts. Select your profile and click “Dashboard“. Find your new Chat Lead and click “View Details“. You can now see your chat leads importing from Crisp.