---
title: "Getting started with Shopify"
description: "Learn how to integrate Klaviyo with Shopify in order to bring your customer profile and order data into Klaviyo and reach customers with targeted messaging. Additionally, enable Klaviyo onsite tracking and sign-up forms, and sync data from Klaviyo to Shopify."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/115005080407"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/115005080407.md"
locale: "en-us"
category: "Integrations"
section: "Getting started with Shopify"
updated: "2026-10-27"
---

# Getting started with Shopify

## You will learn

Learn how to integrate Klaviyo with Shopify in order to bring your customer profile and order data into Klaviyo and reach customers with targeted messaging. Additionally, enable Klaviyo onsite tracking and sign-up forms, and sync data from Klaviyo to Shopify.

## Before you begin

**📝 Note:** If you are migrating from another ESP that is currently integrated with your Shopify store, make sure to disconnect your prior ESP from Shopify before integrating Shopify with Klaviyo. Failure to disconnect your old integration could result in double opt-in emails sending to your existing subscriber list.

## Video help

Learn how to integrate with Shopify using our step-by-step video!

🎬 [Watch video on Wistia](https://klaviyo.wistia.com/medias/hcc8jhfi2w)

## How to integrate

1. In Klaviyo, select the **Integrations** tab.

2. Click **Explore apps**.

3. Search for *Shopify* and click the card, then click **Install**.

4. Paste the URL of your Shopify store in the box. Make sure that it is in the format *mystore.myshopify.com*. 

5. Review **Sync data from Shopify** and **Sync data to Shopify** before connecting. If email subscriber syncing is selected, choose a list or clear that setting. Choosing **All profiles** for outbound syncing creates customers in Shopify for Klaviyo profiles that do not already exist there, including profiles from imports and other integrations. Choose **Profiles that already exist in Shopify** if you only want to update existing customers. You can adjust these settings after connecting.

6. Click **Connect to Shopify**. This will take you to your Shopify account. You may be prompted to log in to Shopify.

7. After being brought into Shopify, review the permissions and click **Install app** to be redirected to Klaviyo.

8. Confirm that the correct Klaviyo account and Shopify store are shown, then click **Integrate**. This connects your store and returns you to the integration settings page.

9. Under **Sync settings**, select **From Shopify** to configure subscriber and Shopify Markets syncing.

10. Check the **Sync your Shopify email subscribers to Klaviyo** box to automatically add customers who accept email marketing at checkout, or sign up to any Shopify sign-up form, to the list you select from the dropdown.


    - As a [best practice for collecting consent](https://help.klaviyo.com/hc/en-us/articles/360003536031.md#01H8KRZQN97W49R600942Z4F4R), you should customize the *Accepts marketing* checkbox label in Shopify within your checkout settings. 

11. If you selected the prior setting: Select a list to add email subscribers to from the dropdown. We recommend selecting your main email list that triggers your welcome series. 




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/36312d184895f1370b31edaa4f084692b175fd33-724x501.png?auto=format)

12. Set up text messaging in Klaviyo before selecting this setting. Check the **Sync your Shopify Text Message subscribers to Klaviyo** box to automatically add all future customers who accept SMS marketing in Shopify (including at checkout and in Shopify sign-up forms) to the list you select from the dropdown. You can return to configure this setting later. Note that consent will only sync to Klaviyo if the person is subscribing to SMS in Shopify for the first time. To add historical SMS subscribers, follow the steps in [How to add historical Shopify SMS subscribers to your list](https://help.klaviyo.com/hc/en-us/articles/25184840445467.md).

13. If you selected the prior setting: Select a list to add SMS subscribers to from the dropdown. We recommend using separate lists for email and SMS subscribers.

14. If you use Shopify Markets and the option is available, select **Sync Shopify Markets to Klaviyo** to sync your international market catalogs. This requires the latest version of Shopify Markets, and Markets syncing can only be enabled for your store in 1 Klaviyo account at a time.

15. Select the **To Shopify** tab, then select **Sync Klaviyo profiles to Shopify** if you want to sync data from Klaviyo. We recommend syncing all profiles and all types of data to Shopify. If you select this setting, do the following:

    1. Under **Profiles**, choose **All profiles** or **Profiles that already exist in Shopify**.



**📝 Note:** If you choose all profiles, Klaviyo will create new customers in Shopify for all profiles (existing and new) created in Klaviyo. This includes profiles synced from other Klaviyo integrations, or added through list imports, even if they have not interacted with your Shopify store.

  1. Under **Profile data**, choose what to sync: **Contact info** (name, email address, and phone number), **Locale**, **Email subscription**, **Text message subscription**, **Email events**, and **Text message events**. Include **Contact info**, **Locale**, or a subscription option. Event options alone are not enough. **Contact info** is required when you sync **All profiles**. Text message subscriptions and events sync after text messaging is set up.

  - **Contact info** does not overwrite existing values in Shopify. **Locale** can overwrite the customer’s existing locale in Shopify.

  - If you do not have any custom properties yet, you can select **Sync all custom properties** to sync new properties as they are added. If you already have custom properties, save your integration settings first, then select the properties as described below.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/e79f29d0de8c380d0dcd99b129c7690c8c4b5b73-596x662.png?auto=format)

1. After configuring your settings, click **Update Settings**. Complete any authorization prompts, then click **Update Integration** when you return to Klaviyo.

2. Check the **Historical data** section to see the progress of your initial data sync.



### Sync custom properties

1. To sync existing custom properties, open **Sync settings > To Shopify**. Under **Custom properties**, click **Select properties**, or **Edit properties** if properties are already selected.

2. Add the properties you want to sync to **Selected properties**, then click **Save**.

3. Confirm by clicking **Sync property** or **Sync properties**, depending on how many you selected.



**⚠️ Warning:** It is not recommended to update custom profile properties in Klaviyo that were synced via Shopify (such as Shopify tags), since these will be overwritten the next time your integration syncs.

## Enable onsite tracking

Next, you’ll enable Klaviyo onsite tracking, which consists of multiple events. Using these tracking events can help you engage identifiable browsers of your store. Additionally, enabling tracking will allow you to use Klaviyo sign-up forms. Please note that enabling the sync of Shopify data to Klaviyo, and Klaviyo data to Shopify will help you see more onsite tracking events in your account due to more profiles syncing. 

**📝 Note:** Based on your Customer Privacy settings in Shopify, Klaviyo may not track onsite events for visitors to your Shopify store in the EU, EEA, UK and Switzerland, unless they have provided consent.

**📋 Requirements:** To track *Viewed Collection*, *Submitted Search*, and *Added to Cart* events from Shopify’s server-side pixel, Shopify Network Intelligence must be enabled in your Shopify admin under **Settings** > **Customer privacy**. If it’s disabled, Shopify may send these events without the shopper’s identity, so Klaviyo can’t attribute them to profiles, and flows that use them may not trigger. Learn more about [Shopify Network Intelligence](https://help.shopify.com/en/manual/privacy-and-security/privacy/customer-privacy-settings/privacy-settings#network-intelligence).

1. In the **Onsite Tracking** section, check **Track behavioral events** to enable tracking for *Viewed Collection*, *Submitted Search*, and *Added to Cart*. Two other events, *Viewed Product* and *Active on Site*, are enabled by default and they will start tracking once you enable the app embed. If you change a tracking setting, click **Update Settings** and complete any authorization and **Update Integration** prompts before continuing.

2. You’ll see a message calling out that your Klaviyo app embed is turned off. Click **Turn on** to be brought to Shopify.




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/3ca4cf9d98246c026ae78235a917e70180b23b8d-1120x618.png?auto=format)

3. If prompted, sign in to Shopify using the account you integrated with Klaviyo.

4. You’ll be brought to your theme settings’ App embeds tab. Make sure the Klaviyo app embed is toggled on.




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/136de2a0a8595383bcabe2ab1c184c057a114755-390x498.png?auto=format)

5. Click **Save** in your theme editor.

6. Navigate back to your Shopify integration settings page in Klaviyo, and refresh the page if needed. You should see a green banner indicating that your app embed is now enabled.




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/757e6a881beac5df8dbbd4e7c1ea38151a301dca-1112x616.png?auto=format)

You’ve now integrated Klaviyo with Shopify and set up onsite tracking. 

If you need to update these settings, return to **Integrations > Shopify**. Use **Sync settings > From Shopify** for subscriber and Markets settings, or **Sync settings > To Shopify** for outbound data. Make your changes, click **Update Settings**, and complete any authorization and **Update Integration** prompts.

Note that your product catalog in Klaviyo will autopopulate with the *myshopify.com* URL. [Contact Klaviyo support](https://help.klaviyo.com/hc/en-us/articles/115001002272.md) to request an update to this setting.

The URL can be updated from this:

`https://[INSTANCE].myshopify.com/products/[PRODUCT_HANDLE]`

To this:

`https://[STOREFRONT_URL]/products/[PRODUCT_HANDLE]`

## Troubleshooting

Having trouble resolving errors with your Shopify integration? Check out our article [Troubleshooting your Shopify integration](https://help.klaviyo.com/hc/en-us/articles/4403927899291.md). 

Are you trying to understand more about the behavior of Klaviyo’s Shopify integration?

- [Learn about onsite tracking and how to test it](https://help.klaviyo.com/hc/en-us/articles/4425956184731.md)

- [Learn about the email subscriber sync](https://help.klaviyo.com/hc/en-us/articles/115005080667.md)

- [Learn about data synced from Shopify to Klaviyo](https://help.klaviyo.com/hc/en-us/articles/115005080447.md)

- [Learn about data synced from Klaviyo to Shopify](https://help.klaviyo.com/hc/en-us/articles/360030919351.md)

- [Learn about Shopify Markets in Klaviyo](https://help.klaviyo.com/hc/en-us/articles/45224022467739.md)



## Outcome

You've now integrated Shopify with Klaviyo, and enabled Klaviyo onsite tracking and sign-up forms for your Shopify store.

## Additional resources

- [Getting started with sign-up forms](https://help.klaviyo.com/hc/en-us/articles/360026474752.md)
  Learn how to create and customize sign-up forms in Klaviyo to publish on your website so you can engage shoppers, collect emails and phone numbers, and build long-lasting customer relationships.
- [How to create and send an email campaign](https://help.klaviyo.com/hc/en-us/articles/115005054847.md)
  Learn about the basics of email campaigns, including what they are and how to send them in Klaviyo.
