You will learn

Learn how to integrate Olark, a live chat provider, with Klaviyo in order to automatically sync chat activity to your Klaviyo account after a chat conversation ends. Klaviyo receives data from Olark via a webhook configured from within your Olark account. To enable the integration, you'll first get a webhook endpoint URL from Klaviyo, which you will add to your Olark account to complete the integration.

Get webhook endpoint from Klaviyo

  1. In your Klaviyo account, select the Integrations tab.
  2. Select Explore apps, search for Olark, then click the card. Then, click Install.
  3. Click Connect to Olark.
  4. Copy the provided webhook endpoint URL, and keep it secure, for use in the next section of this guide.
  1. If you would prefer to sync specific chats to Klaviyo, check the option Only sync chats with visitors in specific Olark groups. Then, add the names of the groups you'd like to sync into Klaviyo separated by commas. You can take advantage of this feature when first getting started, or you can come back and adjust your integration settings later on. Chats with no Olark group are still synced.
  2. When you are done, click Complete setup.

Set up webhook in Olark

  1. Log in to Olark and navigate to the Integrations page.
  2. Enter "Webhooks" into the search box at the top of the page and click on Webhooks when it appears.
Integrations page in Olark with web in the searchbar and Webhooks in the search results
Integrations page in Olark with web in the searchbar and Webhooks in the search results
  1. In the box under URL to post to, paste the webhook endpoint URL you previously copied from Klaviyo.
Connect a Webhook box in Olark with URL to post to box, other settings, and Save with blue background
Connect a Webhook box in Olark with URL to post to box, other settings, and Save with blue background
  1. You can choose to add any of the options under the webhook URL box if needed.
  2. Click Save.
  3. If the webhook settings were saved successfully, you'll see a green box with the text Settings saved successfully! and the option to test your new connection.
Connect a Webhook box in Olark with green Settings saved successfully banner and blue Connected banner with send text with white background
Connect a Webhook box in Olark with green Settings saved successfully banner and blue Connected banner with send text with white background
  1. If the webhook connection was not successful, check the Olark Webhooks Integration Guide for more assistance.
  2. Click Send test to make sure your endpoint is configured correctly. If the test is successful, you will see a green box with a smiley face and the text Test sent.
Connect a Webhook box in Olark with green Sent test banner with smiley face
Connect a Webhook box in Olark with green Sent test banner with smiley face

To confirm that chats are reaching Klaviyo, finish a chat with a visitor whose valid email address is available in Olark. If you selected specific Olark groups, use a chat in one of those groups. Then check for the chat in Klaviyo using the steps below.

Olark data in Klaviyo

When an Olark chat finishes, Klaviyo will automatically record who the chat was with and any custom fields Olark sends for the visitor. Chats without a valid visitor email address are not stored in Klaviyo.

There is 1 Olark metric tracked in Klaviyo: Chatted on Website. To view its recorded events:

  1. Navigate to Analytics > Metrics in Klaviyo.
  2. Select Olark in the Integration filter, then click Chatted on Website.
  3. Select the Activity feed tab to view individual chat events.
Metrics tab in Klaviyo filtered by Olark with Chatted on Website in list
Metrics tab in Klaviyo filtered by Olark with Chatted on Website in list

Klaviyo receives the following customer information with each Chatted on Website event. Email is required; the other fields are included when available:

  • Email
  • First Name
  • Last Name
  • Organization
  • Phone Number
  • City
  • Region
  • Country

You can expand an event to see the “From” field, as well as the chat message. If there’s no location information available, Klaviyo can use the visitor’s IP address to look up their location, provided Olark includes a valid IP address. Klaviyo also records any custom properties you may have set for a customer.

Klaviyo activity feed for Chatted on Website event showing one timestamped event for Natalie
Klaviyo activity feed for Chatted on Website event showing one timestamped event for Natalie

Outcome

You have integrated Olark with Klaviyo, and now new Olark chats will be tracked in Klaviyo in real-time.

Additional resources

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type