About Cookies in Klaviyo

read
Last updated at:

Overview

Klaviyo uses cookies as a part of our web tracking model to gather information to improve conversion rates and email performance. This article explains the specific cookies we use and their purposes so that you remain informed on how customers are tracked. This likewise enables you to remain compliant with national and international regulations, and gain awareness around how Klaviyo gathers data.

In order to maintain GDPR compliance, you will want to display links to your Privacy Policy, Terms of Service, and cookie policy in all of your emails.

Klaviyo Tracking Cookies

There are two main cookies that Klaviyo uses by default when Klaviyo JavaScript is turned on: 

Cookie Purpose
__kla_id Tracks when someone clicks through a Klaviyo email to your website
KL_FORMS_MODAL Tracks when someone subscribes (opts in) to a form

Once a user is identified, the web cookie will last for two years. If JavaScript options are off, customers will not be cookied; however, you will not have access to web tracking and signup forms.

Due to a Safari update entitled ITP 2.1, cookies gathered while using the Safari web browser expire after seven days rather than lasting the full two years.

If you want to maintain Klaviyo JavaScript but remove a cookie, there is one workaround. Toggle the Klaviyo tracking on and off by creating a new cookie, __kla_off, and running document.cookie = "__kla_off=true".

Using API to Access Cookies

Using API to access cookies is useful to check whether or not Klaviyo can identify a customer. You can do this by running JavaScript and typing in _learnq.isIdentified(). The response will then either be true or false.

Email to Website Tracking

When email to website tracking is enabled, Klaviyo identifies individuals that click through a Klaviyo email and browse your website. You can toggle on and off Klaviyo's ability to track email to website activity in your account's email settings.

To navigate to your email settings page click Account > Settings > Email

Screen_Shot_2019-10-10_at_1.41.10_PM.png

When this is on, we add an additional parameter to all URLs in your emails to track activity. This is called the _kx parameter, and _kx will appear directly in the URL. The unique encrypted value is then decrypted by our web tracking and allows us to identify the user that clicked through the URL. 

To learn more, check out our article on Klaviyo web tracking.

Additional Resources

x
Was this article helpful?
35 out of 49 found this helpful