Integrations

  1. Home
  2. Docs
  3. Integrations
  4. Re:amaze Chat Integration

Re:amaze Chat Integration

Re:amaze is a web chat service that you add to your website to interact with visitors to your site. Using Zapier, you can integrate Re:amaze with WhatConverts and get your chat information 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 Re:amaze Integration Code

1On your website where you have placed your Re:amaze Installation Code, add the following to your Re:amaze Installation Code.

After the following in your Re:amaze Installation Code:

<script type="text/javascript" async src="https://cdn.reamaze.com/assets/reamaze.js"></script>
<script type="text/javascript">

Add the following:

var cookie = oqhaqzwnbjgcpycneryg('wc_client');
var [source,medium,campaign,content,keyword,gclid,landing_page,msclkid] = ['','','','','','','',''];

At the end of your Re:amaze Installation Code, before </script> add the following:

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[7])
        landing_page = cookie_parts[6];
    if (cookie_parts[8])
        msclkid = cookie_parts[8];
}
_support['custom_fields'] = {
    source: { type: 'hidden', value: source,  pos: 1 },
    medium: { type: 'hidden', value: medium,  pos: 2 },
    campaign: { type: 'hidden', value: campaign,  pos: 3 },
    content: { type: 'hidden', value: content,  pos: 4 },
    keyword: { type: 'hidden', value: keyword,  pos: 5 },
    gclid: { type: 'hidden', value: gclid,  pos: 6 },
    landing_page: { type: 'hidden', value: landing_page,  pos: 7 },
    msclkid: { type: 'hidden', value: msclkid,  pos: 8 }
};

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

    Note: As you continue through setting up Re:amaze in Zapier, you will be prompted to follow Zapier’s instructions to log into and link your Re:amaze account.

Create a new test conversation on your website.

Go back to Zapier and test your Trigger step. Click “Get Samples” to get your test conversation, click the “down arrow” to view your lead and click “Continue“.

Zapier and Reamaze

3Add an Action Step and select “WhatConverts” as your Action App. Select “Create Lead” then click “Continue“. Select your WhatConverts account to integrate with Re:amaze.

    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: Data Source
    Referrer Medium: Data Medium
    Referrer Campaign: Data Campaign
    Referrer Content: Data Content
    Referrer Keyword: Data Keyword
    IP Address: External Data Ip
    Gclid: Data Gclid
    Msclkid: Data Msclkid
    Lead Page: External Data Current URL

Add the following field under Additional Fields:

    Link to Full Chat: Perma URL
    Message: Message Body
    Email address: Author Email
    Name: Author Friendly Name

    Full Reamaze Template for Zapier

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

    4Log into WhatConverts. Select your profile, click “Dashboard“. Find your new Chat Lead and click “View Details“. You can now see your chat leads importing from Re:amaze.