How to integrate with Olark

Estimated 3 minute read
|
Updated Nov 29, 2024, 9:59 PM EST
You will learn

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

Get webhook endpoint from Klaviyo

  1. In your Klaviyo account, select your account name in the lower left and click Integrations.
  2. Select Add integrations, 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.
  5. 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.
  6. When you are done, click Complete setup
Set up webhook in Olark

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
  3. 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
  4. You can choose to add any of the options under the webhook URL box if needed.
  5. Click Save.
  6. If the webhook connection was successful, 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
  7. If the webhook connection was not successful, check the Olark Webhooks Integration Guide for more assistance.
  8. Click Send test Helvetica, Arial, sans-serif;"> to make sure your endpoint is configured correctly. If the test is successful, you will see a green box with the a smiley face and the text Test sent.
    Connect a Webhook box in Olark with green Sent test banner with smiley face
Olark data in Klaviyo

Olark data in Klaviyo

When an Olark chat finishes, Klaviyo will automatically record who the chat was with and any custom properties you set on that chat. If a chat was anonymous, Klaviyo will not store any of the chat's data.

There is one Olark metric tracked in Klaviyo: Chatted on Website. You can view and filter all recorded Chatted on Website events in the Metrics tab in Klaviyo, found in the Analytics dropdown. 

Metrics tab in Klaviyo filtered by Olark with Chatted on Website in list

As a part of the Chatted on Website metric, Klaviyo automatically receives the following information about a customer (if 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 will automatically use IP geolocation to determine where a customer is located. 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

Outcome

Outcome

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

Additional resources

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.
Live training
Join a live session with Klaviyo experts to learn about best practices, how to set up key features, and more.
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