If you have a single Magento 2 server that hosts more than one store, you have two options as you get setup with Klaviyo:
- Create Separate Klaviyo Accounts for Each Magento 2 Store
If you're interested in creating separate Klaviyo accounts for each of your Magento 2 stores, click the advanced option on the Magento 2 integration page to retrieve a list of your stores, and select the stores you want to sync to the Klaviyo account you're working with.
- Sync All Store Data to a Single Klaviyo Account
This option requires you to then use Klaviyo's Segment Builder and flow filter capabilities to leverage data for each store separately.
NoteSince 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.
From the Magento 2 integration page, enter your store URL, API Username, and Password / API Key. Then, click to expand the Advanced Options and click the link to retrieve a list of your stores.
If you click to retrieve a list of all stores, Klaviyo will then populate a list of all stores associated with your Magento instance.
NoteYou must first have provided your Store URL and credentials in order for Klaviyo to pull this list of stores.
Choosing one or more stores here means that Klaviyo will exclusively sync customer and order data from these chosen stores.
If you prefer to sync all stores, you can click the blue hyperlinked text to return to a state where Klaviyo will automatically pull in customer and order data from all stores within your Magento instance. If a new store gets added in the future, data from that new store will also begin syncing into Klaviyo at this time.
Sync All Store Data to a Single Klaviyo Account
When you integrate a Magento 2 server that has multiple stores on it to a single Klaviyo account, we will sync all profiles and order data from each store into this one account.
Additionally, we will sync Magento Store Name and Magento Website ID properties for each profile created to let you know which of your stores that profile comes from. You will then be able to configure our extension on a site-by-site level to pick which list to add subscribers to, and you can filter flows and segments using the Magento 2 store name to separate flows between stores. As noted above, however, 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.
The screenshot below shows the English store selected, and the API key for that store's associated Klaviyo account added.
Again, the same screenshot below uses the same site, only now the French store is selected, and the API key for that store's associated Klaviyo account added.