Skip to main content
3432 Topics
Help Center

Shopify Accepts Marketing subscriber reference

You will learn Learn about how subscribers in your account were synced from Shopify to Klaviyo before Klaviyo updated this sync in December 2022. Before you begin On December 14th, 2022, Klaviyo released an update changing the way email subscribers are synced from Shopify to Klaviyo. This sync previously relied on Shopify’s Accepts Marketing tag, but now, subscribers are synced via Shopify’s subscription model. This property still syncs to Klaviyo for customers who wish to use it, but it no longer determines subscription status in Klaviyo and has since been deprecated by Shopify.  If you'd like to learn about how Klaviyo's subscriber sync currently functions, head to How to sync Shopify email subscribers to a Klaviyo list. If you are looking to understand your Shopify subscribers synced before this December 2022, read on.  How did subscribers previously sync from Shopify? Before December 14, 2022, Klaviyo's subscriber sync from Shopify relied on Shopify’s Accepts Marketing tag. Below is an example of how the property appeared on a customer's profile in Klaviyo. There are a few situations which can could have caused a pre-existing customer to have Accepts Marketing set to false, but they're still subscribed to your email list: If a customer checked out and decided not to accept email marketing at that time, but later subscribed through a Klaviyo sign-up form, they still would have been added to your email list. If a customer checked out and accepted email marketing, they'd be added to your email list. If they checked out again, they probably decided not to subscribe again since they were already subscribed. Depending on your checkout configuration, Shopify might have seen this as not accepting marketing (Accepts Marketing = false.) You probably don't want to treat this customer as an unsubscribe. Rather, you'll want to keep this customer on your email list.  Additionally, it's important to note that a pre-existing customer who has Accepts Marketing set to false won't automatically be suppressed. To learn more about suppression, check out our article Understanding suppressed email profiles. Additional resources Getting started with Shopify How to sync Shopify email subscribers to a Klaviyo list  

Help Center

Shopify data reference

You will learn Learn what data syncs from Shopify to Klaviyo and where to view it. This includes both order data (such as Placed Order, Ordered Product, etc.), delivery data, onsite tracking data, and customer data. If you have not already, read our guide on getting started with Shopify for step-by-step instructions on integrating, before continuing with this article. About the initial data sync When you first integrate with Shopify, Klaviyo will sync the last 90 days of your Shopify data so you can start engaging your most recent customers. After the sync of the last 90 days of data, Klaviyo will begin your complete historical data sync. Depending on how many orders, customers, and products your store has, it can take anywhere from a few minutes to several days to sync all of your data, and a green progress bar will show the progress of your sync. Once this historical sync is complete, new data will sync to Klaviyo in real time. How to view your data Click the Analytics dropdown in the left-hand navigation sidebar and select Metrics. Here, you can view all of the metrics in your account. The metrics with a Shopify icon represent all of the metrics synced from your Shopify integration. You can filter this view to see only Shopify metrics by using the filter selector in the upper right-hand corner. The metrics synced from Shopify are: Checkout Started Placed Order Ordered Product Fulfilled Order Fulfilled Partial Order Cancelled Order Refunded Order Confirmed Shipment Delivered Shipment Marked Out for Delivery Active on Site Viewed Product Viewed Collection Submitted Search Added to Cart All of the events above are branded with the Shopify icon when they sync to Klaviyo, with the exception of Active on Site and Viewed Product, which have a gear icon. These events are tracked by Klaviyo via an installed snippet, while Shopify-branded events are natively tracked by Shopify.  Confirmed Shipment, Delivered Shipment, and Confirmed Out for Delivery events will only sync to Klaviyo if they are available in Shopify. Please note that Shopify only provides these notifications for certain shipping carriers. Checkout Started Klaviyo's Shopify integration is fully compatible with Shopify One-page Checkout. Whether you're using one-page checkout or multi-page checkout, the Checkout Started event is triggered after the customer fills out their email. If you've customized your checkout, customers may still need to progress to the next step in the checkout process for the Checkout Started event to be triggered. Additional customer information will be updated in Klaviyo once the customer is created in Shopify. The event that Klaviyo tracks includes all of the product information about the items in someone's cart including product names, images, and variant information so you can use this information in your abandoned cart emails. This event syncs with a checkout URL property, which links back to each customer’s unique cart. If someone opens an abandoned cart email from a new device, this link will rebuild the person's cart when clicked through. You can filter and target Checkout Started events based on the following criteria: $valueThe total value of the cart at time of started checkout. This may include any line prices, taxes, shipping costs, tips, and discounts. ItemsThe names of the products in someone's order, e.g., t-shirt or pants. CollectionsThe complete set of the collections of the products in someone's order, e.g., t-shirts, men's, pants and sale. Item CountThe count of line items in the order, e.g., 2. Note that this does not account for the quantity of items. Additionally, it is possible to add the same item to a cart multiple times and have it counted as multiple line items in Shopify; Klaviyo does not check for uniqueness or merge these for Item Count. Discount CodesAny discount or coupon codes someone used towards the order, e.g., SPRING2015. Total DiscountsThe total amount of any coupons or discounts if someone used  code, e.g., 10.00. Customer LocaleThe customer’s locale when placing the order, e.g., en-US. $extraAdditional data including localized product information. If there is billing address information available, we will also capture all relevant address details. If there is a referring site captured by Shopify, we will sync this as well. Checkout Started vs Abandoned Checkout Shopify's Abandoned Checkout metric is different from its Checkout Started metric. Klaviyo's Abandoned Cart flow is triggered by the Checkout Started metric, while Shopify's Abandoned Cart flow is triggered by the Abandoned Cart metric. Do I need to disable the Abandoned Checkout notification in Shopify or will Klaviyo do this automatically?  You will need to do this manually. To turn off Shopify’s Abandoned Cart Recovery head over to Settings > Checkout and then scroll down until you see Abandoned checkouts, under the Email Marketing section. You will need to uncheck the box that says "Automatically send abando

Help Center

Troubleshooting your Shopify integration

You will learn  Learn how to solve issues with your Shopify integration setup by following the relevant troubleshooting scenario described below. If you are encountering issues not on this list, please reach out on our Community or to our Support Team.  Before you begin If you have not already, read our guide about getting started with Shopify for step-by-step instructions on integrating, rather than continuing with this article. Table of contents Here are the troubleshooting scenarios this article will cover: The integration settings page is not recognizing my store URL  My Shopify integration is not syncing I’m receiving the error: We are unable to update your integration settings at this time. Please refresh or try again later When I try to add a second Shopify account to my Klaviyo account, I’m unable to do so My Shopify integration appears to be working, but I’m still getting an in-app notification that it is having problems syncing Onsite tracking is not working  Troubleshooting scenarios  The integration settings page is not recognizing my store URL  If you are receiving an error on the Integration Settings page that your store URL is incorrect, make sure that the URL follows the pattern mystore.myshopify.com. My Shopify integration is not syncing If you think your Shopify integration is not syncing data properly, update the sync by completing the following steps: In Klaviyo, click your account name in the lower left and select Integrations. Select Shopify. Click Update Settings. If you're not logged into your Shopify store, you will be redirected to Shopify and prompted to log in. Click Update Your Integration Settings. We will re-authenticate with Shopify, and you will be brought back into Klaviyo. If you click to update, and then click the back button or navigate elsewhere before this authentication process completes, this will disable your integration. A Settings Updated callout at the top of the page will confirm that your integration has been updated and is resyncing. This can take a minute to appear.  I’m receiving the error: We are unable to update your integration settings at this time. Please refresh or try again later If you received this error after clicking Connect to Shopify, this could be for a number of reasons. First, you may receive this error if you have provided an incorrect Shopify URL in the Store URL box. Make sure your store name is spelled correctly before trying to connect.  Another reason you could be receiving this error is if your Shopify store is currently frozen. This can happen if you need to choose a plan, pay an outstanding balance, or if your free trial has expired. Log into Shopify and resolve the issue before trying to connect to Klaviyo.  Additionally, this error could appear if your store was removed by Shopify, or if the Klaviyo application was uninstalled within Shopify. Make sure to check that you have the Klaviyo app installed in Shopify.  When I try to add a second Shopify account to my Klaviyo account, I’m unable to do so Klaviyo does not currently support more than one Shopify store per Klaviyo account. If you have two Shopify accounts, you will need to connect them to separate Klaviyo accounts. Head to Multi-Account User Privileges for more information. My Shopify integration appears to be working, but I’m still getting an in-app notification that it is having problems syncing If an issue was recently resolved with your Shopify integration, you might still see this error in-app. Ignore this error, unless you continue to see issues with your integration, such as data not flowing into your account in a timely manner.  Onsite tracking is not working Have you recently added a brand new theme to your Shopify store? If so, onsite tracking will not work until you re-enable the Klaviyo app embed for your new theme. You can learn how by following the instructions in this article.  Troubleshooting FAQs Looking for Shopify FAQs? Check out quick answers to other customers' questions on our Community.  Additional resources Shopify data reference How often integrations sync reference How to disable notification emails sent by Shopify

Help Center

How to sync Shopify account registration customers to a list

You will learn Learn how to sync subscribers collected via a Shopify account registration form to a Klaviyo list. If you want to use a Klaviyo form instead, read about getting started with sign-up forms. To achieve this goal, you will need to add an Accepts Marketing checkbox to your registration form.  Before you begin If you have not already, read our article Getting started with Shopify for step-by-step instructions on integrating, before continuing with this article. Make sure that you have chosen a list for email subscribers to be added to in your Shopify integration settings (in Klaviyo, this can be found by clicking your account name, selecting Integrations, then finding Shopify on the list and selecting it). The setting can be found under Sync settings, on the From Shopify tab. This is the list the account registration customers will be added to, once you add the checkbox to your form.  Enable "Accepts Marketing" on your Shopify registration form In order to have customers who register for an account on your Shopify site be added to a list within Klaviyo, you will need to add some additional code to your registration form, which can be found in the registration.liquid file (or similar).  Add the following code to your registration form to add an Accepts Marketing checkbox: <div id="accepts_marketing_checkbox"> <input type="checkbox" name="customer[accepts_marketing]" checked="checked" value="true" id="marketing"> <label for="marketing">Yes! Sign me up to receive emails about all the latest tots.</label> </div> You will need to customize the label text with the label you would like to use on your form.  Customers will have to check this box in order to be added to your list.  Note that if you have double opt-in enabled in Shopify, the customer will first need to confirm their subscription via Shopify's double opt-in email before being added to the list. If you have double opt-in enabled for the specified list in Klaviyo, the customer will need to confirm their subscription via Klaviyo's double opt-in email before they are added to the list.  You can test that this process is working by filling out the registration form, checking Accepts Marketing, and then looking to see if your test profile has been added to your selected list. Troubleshooting If you are uncomfortable with editing and adding code, and require developer assistance, we recommend reaching out to a Klaviyo partner agency.  Outcome You're now syncing Shopify account registration customers to a Klaviyo list.  Additional resources Getting started with Shopify How to sync Shopify email subscribers to a Klaviyo list

Help Center

How to use Shopify Flow and the Klaviyo Connector

You will learn Learn how to use the Klaviyo Connector with Shopify Flow to track events (to send data from your workflow to Klaviyo) and create campaigns (to send via Klaviyo). Before you begin  Knowledge check If you have not already, read our guide on getting started with Shopify for step-by-step instructions on integrating, before continuing with this article. What is Shopify Flow? Shopify Flow is an ecommerce automation platform that Shopify stores can use to automate common tasks, such as: Tagging high-value customers Flagging and cancelling high-risk orders Sending reordering requests when your inventory levels become low Identifying and adding tags to products based on their title or SKU Shopify Flow is an app offered by Shopify in their App Store and is available for those on the Shopify plan and up (it is not available for those on the Basic plan). You can access the app in Shopify's app store and should install it before following the steps in this article.  For Shopify merchants using Flow, there are a number of resources available for understanding what's possible with Flow, and workflows you can download and import into your store: Workflow examples from Shopify Help Center doc 14 top workflows blog post What can I do with Klaviyo Connector for Shopify Flow? Shopify Connectors is a feature that allows Shopify stores to create app triggers and actions that third-party partners have built.  The Klaviyo Connector supports two actions: Track an eventThis action sends data from your workflow to Klaviyo for it to track. Example workflowWhen a customer's loyalty tier changes, you can track this change in Klaviyo. How it works This workflow is triggered by LoyaltyLion when a customer moves up a loyalty tier. LoyaltyLion send the tier information to Shopify Flow. Shopify Flow sends data about the customer to Klaviyo, to track the event, and to LoyaltyLion, to add bonus points the customer's loyalty account. Create a campaignThis creates and sends a campaign via your Klaviyo account using a specified list or segment and email template. Example workflowWhen you use Shopify’s Launchpad app to plan a sale and execute a theme change for your Shopify store, you can schedule a marketing email to coincide with your theme change using Shopify Flows. How it works Configure your Klaviyo email template with details of your theme change. Use the ID for your desired list or segment to create the campaign within Shopify Flows. How to use the Klaviyo Connector In a Shopify Flow, you can add actions into a workflow. When in the Select an action menu, you can choose from Standard Actions developed by Shopify or additional actions developed by third-party apps. This is where you'll find the Klaviyo Connector if it's installed. The two actions available in the Klaviyo Connector are Track an event and Create a campaign. Track an event Once you choose the Track an Event action, you'll need to fill out the following fields: Klaviyo Public API KeyLearn how to locate your public API key in Klaviyo. Event NameName of the event you want to track. This will appear on the customer profile's event timeline. Customer Email AddressEmail of the person going through the Flow whose activity will be tracked in Klaviyo. Customer First NameFirst name of the person going through the Flow whose activity will be tracked in Klaviyo. Customer Last NameLast name of the person going through the Flow whose activity will be tracked in Klaviyo. Customer PropertiesHash dictionary of customer properties to be included in their Klaviyo profile as a custom field.  Event PropertiesHash dictionary of custom information about this event. It is important to note that anything sent as a list, such as customer or event properties, will need to be formatted as a JSON list to appear properly in Klaviyo. For example, you could format customer tags in the following way: {"tags": [{% for tags_item in customer.tags %}{% if forloop.first != true %},{% endif %}{{ tags_item | json}}{% endfor %}]} These events will be tracked in Klaviyo as Shopify events, as indicated by the Shopify icon alongside each event. To view your Shopify Flow event data: Click the Analytics dropdown in Klaviyo and select Metrics Select Shopify from the dropdown menu. The tab will display only the events synced from Shopify. Create a campaign Once you choose the Create a Campaign action, you will need to fill out the following fields: Private API KeyLearn how to locate your private API key in Klaviyo. If you do not have one associated with your account yet, you may create one on this page. Your private API key should always be kept secret and should not be shared.   List or Segment IDClick the Audience dropdown in Klaviyo and select Lists & Segments. Click on your chosen list or segment, select the Settings tab, then copy the six-character code displayed here and enter it into the corresponding field. Template IDClick the Content dropdown in K