Track LiveChat Chats
WhatConverts can track LiveChat Inc. chats and capture complete marketing source attribution for each conversation. By connecting LiveChat 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 LiveChat Integration Code.
Set Up LiveChat Tracking
To connect LiveChat to WhatConverts:
- Log in to your LiveChat Inc account.
- Click the Apps menu on the left side of the screen.
- At the bottom, click "Automate with webhooks".
- Click the "Add A Webhook" button.
- Configure your webhook trigger and data type.
To track chats from the beginning:- Trigger: Select "chat_started"
- Data type: Select "chat", "visitor", and "pre_chat_survey"
To track chats from the ending event:
- Trigger: Select "chat_ended"
- Data type: Select "chat", "visitor", and "pre_chat_survey"
- Enter your Target URL: https://process.iconnode.com/lead/integrations/livechat/*****
Replace the ***** with your WhatConverts Profile ID (a 5-digit number). - Click "Add Webhook" to activate the webhook.
- Go to "Installation" and copy and paste your LiveChat code into a notepad to edit. Add the following to your code:
window.__lc.params = [{ name: 'wc_source', value: oqhaqzwnbjgcpycneryg('wc_client') }];When combined, the LiveChat code will look like this below, with the ****** being your LiveChat
license number.<script type="text/javascript"> window.__lc = window.__lc || {}; window.__lc.license = ** ** ** * ; window.__lc.params = [{ name: 'wc_source', value: oqhaqzwnbjgcpycneryg('wc_client') }]; (function() { var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true; lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s); })(); </script> - Copy and paste the new LiveChat code on your page. Make sure your WhatConverts tracking script is before the LiveChat Inc code on your page.
- Go to your website. Start and end a new chat. Log in to the WhatConverts profile where you have set up the LiveChat Inc integration. Click "Leads" in the top menu. Under Lead Manager, check for a new Chat Lead to ensure LiveChat Inc. is tracking properly.
Once configured, LiveChat will send chat data to WhatConverts.
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

