Guide to supporting multiple Magento stores (for Magento 2.x)
- Guide to supporting multiple Magento stores (for Magento 2.x)
- Overview
- Create separate Klaviyo accounts for each Magento store
- Sync all store data to a single Klaviyo account
- Scope the Klaviyo Magento extension to a single store view
- Find store IDs for your Magento stores
- Flows for multiple Magento 2 stores
- Sign-up forms for multiple Magento stores
- Support for multiple languages within your Klaviyo account
- Explore more from Klaviyo
Estimated 5 minute read
|
Updated Jul 7, 2025, 12:00 AM EST
Table of contents
- Overview
- Create separate Klaviyo accounts for each Magento store
- Sync all store data to a single Klaviyo account
- Scope the Klaviyo Magento extension to a single store view
- Find store IDs for your Magento stores
- Flows for multiple Magento 2 stores
- Sign-up forms for multiple Magento stores
- Support for multiple languages within your Klaviyo account
Overview
If you have a single Magento 2 server that hosts more than one store, you have 2 options as you get set up with Klaviyo:
- Create separate Klaviyo accounts for each Magento 2 storeFor each Klaviyo account, use Store view sync on the Magento 2 integration page to select the store views you want to sync to that account.
- Sync all store data to a single Klaviyo accountThis option requires you to then use Klaviyo's Segment Builder and flow filter capabilities to leverage data for each store separately.
Since Klaviyo is not currently optimized to support multiple brands in a single account, we recommend using this method only for multiple languages of the same brand (e.g., English and French stores) or if you have an online/offline store of the same brand.
Create separate Klaviyo accounts for each Magento store
If you're interested in creating separate Klaviyo accounts for each of your Magento 2 stores, you can select the specific Magento 2 stores you want to connect to your account on the Magento 2 integration page.
- While integrating with Magento, select Specific Magento 2 store views under Store view sync. For an existing integration, find these options at Integrations > Magento 2 > Settings.
- Select the store views you want to sync to this Klaviyo account.
- For an existing integration, click Save. If you are setting up the integration for the first time, complete the remaining setup steps in the linked integration guide.
Choosing one or more stores here means that Klaviyo will exclusively sync customer and order data from these chosen stores.
If you select All Magento 2 store views, data from any store views you add in the future will also begin syncing into Klaviyo.
Sync all store data to a single Klaviyo account
When you integrate a Magento 2 server that has multiple stores with a single Klaviyo account and select All Magento 2 store views, Klaviyo syncs profiles and order data from each store into that account.
When Magento supplies store information, Klaviyo syncs the MagentoStore and MagentoWebsiteID profile properties. These identify the store name and website ID associated with the synced customer or order. You can configure the extension on a site-by-site level to pick which list to add subscribers to, and filter flows and segments using the MagentoStore profile property.
However, as noted above, Klaviyo is not currently optimized to support more than one store in a single account. This means it is not possible to fully isolate each store's data within a single Klaviyo account.
Scope the Klaviyo Magento extension to a single store view
When you install the Klaviyo Magento Extension, you will be able to enable it for a specific configuration scope. If you would like to configure our extension on a site-by-site level, you just need to shift the scope and set the right Klaviyo API Keys for each view. Make sure to set these API keys at the website level as well as the store view level.
The screenshot below shows all the available store scopes. Here, you can also see the API key for the English store's associated Klaviyo account.


Meanwhile, the screenshot below uses the same site, only now the French store is selected. The API key for that store's associated Klaviyo account is also added.


Find store IDs for your Magento stores
Each Magento store view has a Store ID supplied by Magento. Order events synced to Klaviyo include this value as StoreID, which you can use in trigger filters for store-specific flows.
To find store IDs, navigate to Integrations > Magento 2, open Settings, and find Store view sync. Select Specific Magento 2 store views to display the list of store names and IDs.
If you're only looking up store IDs, leave without saving changes to your store selection.
Flows for multiple Magento 2 stores
You may want to set up different messaging for multiple Magento stores. For example, if you support multiple languages in your Magento stores, you may want to create a post-purchase flow with different branches for your French-speaking and English-speaking stores. You can create these branches using conditions based on the MagentoStore profile property.
This is an example of a post-purchase flow with a conditional split based on the MagentoStore profile property. This flow splits to create a flow branch for a Magento 2 “French” store:


Another branch can be created based on the MagentoStore value equaling English-UnitedStates.
To send a separate post-purchase flow only for orders from a particular store, use the Magento 2 Placed Order metric and add a trigger filter where StoreID equals that store’s ID, then save the filter. MagentoStore is a profile property that can change as customer and order data syncs; it does not identify the store for every past order.
Sign-up forms for multiple Magento stores
You'll want to customize your sign-up forms for each of your Magento stores.
- You can design a distinct form for each of your Magento stores
- If the same content works for multiple stores, you can use 1 sign-up form and target it to those stores’ URLs.
In addition to custom styling, you can choose to surface a form only to specific URLs:
- Open your form in the editor. In Targeting & display behavior, select Targeting.
- Under URLs, turn on Only show on certain URLs.
- Choose Containing and enter the store’s domain or a URL path unique to that store, such as
example.com/fr/, to include its pages. To show the form on just 1 page, choose Exactly matching and enter the full URL, includinghttps://. Use Add URL for additional stores or pages.


- Click Publish or schedule, select the Publish now option, then click Publish now to apply the changes.
You may also want to consider including a hidden field in each store’s sign-up form to save a custom language property, such as Language = French. The field is hidden on the form, and its value is saved on the profile when the form is submitted. You can use this property to segment your customers.
Support for multiple languages within your Klaviyo account
You may have multiple Magento stores in different languages. You can customize your email templates and target your customers based on their location and/or language preferences.
For more information on supporting multiple languages within your Klaviyo account, head over to Klaviyo's Support for Multiple Languages
Was this article helpful?
YesNo
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.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
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
