How to Integrate Klaviyo to Shopify
Updated: May 1
Most probably, you already know the benefits of Klaviyo and Shopify; that’s why you were looking for this blog to help you with integrating these 2 amazing platforms.
You have absolutely reached the right place. Klaviyo is definitely the best platform for Shopify e-commerce business owners to send automated emails and does so much more for your business needs.
In this blog, I will easily explain Klaviyo-Shopfy integration for busy people like you and how it can help Shopify online businesses grow leaps and bounds.
Did You Know Klaviyo Is Officially a Strategic Partner of Shopify?
In August 2022, Klaviyo collaborated with Shopify and it is serving as the suggested email marketing solution partner for Shopify Plus e-commerce businesses. This partnership allowed Klaviyo to gain quick access to the new features of Shopify. It helps Klaviyo to accelerate new technologies to online retailers for better sales.
You can use the Klaviyo suite to create and automate personalized communications like price drop alerts, recommendations, back-in-stock, cart reminders, etc.
Create a detailed audience segment with predictive analytics.
See real-time revenue data as per campaigns, segments, channels, automation, etc.
There is a lot more to Klaviyo for Shopify store owners, and you get a free plan to explore most of the features. You can find Klaviyo in the Shopify app store here.
Klaviyo+Shopify: One-Click & Absolutely Seamless
The link I have provided you above will help you add Klaviyo to your Shopify store with just one click.
It will also sync all the historical and real-time customer action data automatically.
“Klaviyo [helps] hundreds of thousands of merchants better understand their customers and engage them in highly personalized ways across so many touchpoints.”
– Harley Finkelstein, President of Shopify
Why Should You Do Klaviyo Integration With Shopify?
Klaviyo-Shopify integration helps you in communicating with your customers on a deeper level almost instantly and automatically. It is the combination of rich Shopify data with richer segmentation and sophisticated automation powered by Klaviyo.
If you still have doubts about this integration, here are some convincing reasons:
Reason 1: You get 200+ pre-built other tech stack integrations. No code is required.
Reason 2: If you want more, there are options for direct and custom integrations.
Reason 3:It comes with a custom form builder to create mobile-friendly sign-up forms, announcements, etc.
Reason 4: Predictive customer analytics can help you figure out lifetime value and churn risk.
Reason 5: It comes with a feature of personalized product recommendations based on customer purchase history.
Reason 6: You get pre-built templates with drag and drop editor.
There are many more reasons. So, just explore yourself after integrating your Shopify store with Klaviyo.
Getting Started With Klaviyo+Shopify Integration
Before we begin with this section, please note that now you are about to learn:
How to collect email and SMS subscribers
How to sync the Shopify newsletter or sign up from subscribers to a Klaviyo list
How to add metrics from Shopify to Klaviyo
How to enable Klaviyo tracking for customers and their viewed products in the Shopify store
There are 2 ways you can start with Klaviyo and Shopify integration via Klaviyo:
If you are a brand new customer, add Shopify integration from the Klaviyo setup wizard.
Add Shopify from the integrations tab in Klaviyo.
Overall, there are 4 steps to Klaviyo and Shopify integration:
Install the app
Let’s understand the integration in detail now.
Add Shopify From the Integrations Tab in Klaviyo
Select your account name in the lower left corner and click ‘integrations’.
Search for “Shopify” and click on ‘Add Integration’.
Paste your online store URL in the first box. The format should be - mystore.myshopify.com.
Now, you will be prompted to configure onsite tracking.
Check the ‘Sync your Shopify email subscribers to Klaviyo’ box. It will automatically add all customers who accept newsletters/email marketing campaigns at checkout. You can select the list from the dropdown where you would want their information to be submitted.
Check the ‘Sync your Shopify SMS subscribers to Klaviyo’ box. It will automatically add all customers who accept SMS marketing at checkout. You can select a list from the dropdown to add these subscribers.
If you want to sync any data, check the setting ‘Sync profiles and profile data from Klaviyo to Shopify’. It is recommended to sync all types of data to Shopify. If you check this setting, do the following:
Check whether to sync updates for all Klaviyo profiles, or just the existing profiles in Klaviyo. If you choose all profiles, Klaviyo will create new customers in Shopify for all profiles created in Klaviyo (existing as well as new). It includes profiles synced from other integrations in your Klaviyo account or added via importing lists.
Choose the customer profile data you want to sync to gather information:
Email marketing subscription status
SMS subscription status (if you have SMS enabled)
You can learn all about syncing Klaviyo data to Shopify here.
Now, click ‘Connect to Shopify’. You may be prompted to log in to your Shopify account.
As you are now in Shopify, review all settings and click Install app. This will begin your Shopify data syncing with Klaviyo and you will be brought back to your Klaviyo account. A green success callout will indicate that the data is syncing with Klaviyo.
Now, enable onsite tracking by toggling on the Klaviyo app embed in Shopify. Scroll to the Onsite Tracking section on the integration settings page. You will find a notice saying - ‘Klaviyo App Embed is not enabled.’ Click on the ‘view your Shopify App Embed setting’.
Note: ‘Viewed Product tracking’ will start automatically, as it is checked by default.
After you will be brought to the theme settings, ensure that the app embed is toggled on, and then click on Save.
You can check if your onsite tracking setup is complete by navigating back to the Shopify integrations page in Klaviyo. Click your account name in the lower left corner, select Integrations, find your Shopify integration, and click on View Settings. You will see a blue callout saying that your app embed is enabled.
Now, your Klaviyo-Shopify integration is complete along with the onsite tracking setup.
For more detailed instructions, click here.
Watch this video for a proper demonstration of the Klaviyo-Shopify integration:
After Klaviyo-Shopify Integration, Test Your Onsite Tracking Like This
Klaviyo has 2 onsite tracking features:
Active on site
If you want to test if these 2 features are working fine, follow these steps:
On the homepage of your Shopify store, add this to the end of the URL, replacing firstname.lastname@example.org with your email address: ?email@example.com.
Now, reload the page.
Navigate to a product page.
Now, in Klaviyo, search for your email address.
You will find your Klaviyo profile along with both onsite tracking metrics (Active Onsite and Viewed Product) tracked in your feed.
The Klaviyo app embed for the Shopify Theme Editor allows Klaviyo onsite tracking for both vintage and Shopify 2.0 themes.
How to Change Klaviyo+Shopify Integration Settings
If you ever want to make any change to your settings, you can find the integration page by:
clicking on your account name in the lower left corner,
finding your Shopify integration,
clicking View Settings,
then making your change,
and finally clicking Update Settings.
“Accepts Marketing” Property Is Also Very Important
In your integration settings, you can choose if you want to add those people to your Klaviyo list who accept email marketing in Shopify.
If someone subscribes to email marketing campaigns in your Shopify store, you will notice that they have a property of “Accepts Marketing true.”
To find the profiles list in Klaviyo,
Click the Audience dropdown
Select the Profiles tab
Or, you can use the search bar for individual profiles.
If you want to learn in detail about how Accepts Marketing property is managed, check this documentation.
In a few situations, you may find some profiles’ Accepts Marketing set to false but still subscribed to your newsletter, such as:
The customer doesn’t subscribe to the newsletter at the checkout but later subscribes through the Klaviyo sign-up form.
The customer subscribes during the first checkout. But in the second checkout, the customer probably decides not to subscribe again since they are already subscribed. Shopify might see it as ‘Accepts Marketing false’, but it depends on your settings. Make sure this person still gets your newsletters.
Klaviyo won’t sync historical newsletter subscribers to a list automatically when you check - Collect email marketing subscribers. You can upload these subscribers to the list in the form of a CSV sheet.
Pre-existing customers who have opted out of the newsletter will not get automatically suppressed. You can learn all about the suppressed email profiles here.
If a profile unsubscribes in Shopify, it won’t be automatically unsubscribed in Klaviyo.
If a profile is unsubscribed in Klaviyo, but this person chooses to resubscribe at checkout, they will be resubscribed in Klaviyo.
Collecting SMS consent at checkout can grow your SMS list exceptionally. But, this SMS consent feature is only available in the countries where Klaviyo SMS is available. SMS consent will only sync in Klaviyo if the person is subscribing for the first time. You can learn all about collecting SMS consent here.
Assign separate lists for SMS and email marketing subscribers. This ensures that the consent is properly applied when subscribers are synced to Klaviyo, so your messages don’t get into trouble.
How Klaviyo Syncs the Shopify Customer Data
As soon as you integrate Klaviyo with Shopify, the last 90 days' data is synced first to engage your most recent customers.
After that, Klaviyo begins the complete historical data sync. Depending on the size of the data, syncing can take anywhere from a few minutes to a few days. A green success callout will indicate that your data is syncing with Klaviyo.
Once all the data is synced, new data will keep syncing to Klaviyo in real time. You can check the progress of the initial sync like this:
Click on the Analytics dropdown.
Find Placed Order and change the date range of the graph to check which dates have been fully synced.
To verify if all the data is synced from your Shopify site, you can cross-check the total orders for a few days.
To check or update the time zone of your account,
Go to the Account Settings page. You can find this page by clicking on your account name in the lower left corner and then clicking on Settings.
Then, navigate to Contact Information > Organization, and scroll down to Timezone.
How Shopify Sign-Up Forms Are Synced to Klaviyo
There are 3 options for syncing your Shopify sign-up form to Klaviyo:
If you check Sync your Shopify email subscribers to Klaviyo settings during integration set-up, your default Shopify sign-up forms are synced to the Klaviyo list.
Add the Klaviyo form to your Shopify store like this.
Integrate a third-party sign-up form with your Klaviyo account like this.
If your Active on site tracking is already set up, you can start using Klaviyo sign-up forms immediately—because "Klaviyo.js" is the same code snippet that enables both Active on site tracking and sign-up forms.