This article walks you through enabling the BigCommerce integration in your Klaviyo account. After you integrate, you can optionally add web tracking and product tracking to your BigCommerce store.
This article covers integrating with a BigCommerce Stencil theme. BigCommerce has two variations of themes, Stencil and Blueprint. The integration process is the same for both theme styles, but the location of some menu items and the location of where you paste in some code snippets is different for Blueprint themes.
Enable the BigCommerce Integration
This process walks you through entering your BigCommerce store URL into your Klaviyo account and installing the Klaviyo app in your BigCommerce store.
Enabling the integration and installing the Klaviyo app allows your BigCommerce event data to sync with your Klaviyo account. This data includes the following events:
- In your Klaviyo account, click the Integrations tab, and search for the BigCommerce Integration.
- From your BigCommerce Account Summary page, find the Permanent Address for your store.
Users with multiple BigCommerce stores: if you encounter any issues with this step, make sure you are logged in to your Klaviyo account and to the specific BigCommerce store you are trying to integrate.
- Switch back to your Klaviyo account and enter your entire Permanent Address in the Store URL field. Click Connect to BigCommerce. If you have not already done so, you are prompted to log in to your BigCommerce admin.
- You are redirected to the Klaviyo app landing page inside your BigCommerce admin. Click Install and then Confirm to begin installing the Klaviyo BigCommerce app.
At this step, search for the Klaviyo app if you are not automatically recirected to the Klaviyo app landing page.
- Your Klaviyo account will open within your BigCommerce admin window. A green success callout confirms that your sync has started.
Your data will begin to sync with Klaviyo in minutes. You've successfully enabled the BigCommerce integration.
Add Web Tracking to your BigCommerce Store
This process walks you through copying the web tracking snippet from this article and pasting it into your BigCommerce theme files.
Adding web tracking allows you to record and analyze when profiles in your Klaviyo account visit your site.
- Update the API Key in the following code snippet with the Public API Key / Site ID from your Klaviyo account.
- Copy the updated code snippet.
- Now go to your BigCommerce dashboard, and navigate to Storefront Design > Design Options and click on the Scripts tab inside the page.
- Paste the code snippet into the editor and click Save.
This enables web tracking on all of the pages of your BigCommerce store.
Add Product Tracking to your BigCommerce Store
This process walks you through copying the product tracking snippet from this article and pasting it into your BigCommerce theme files.
Adding product tracking allows you to record and analyze when profiles in your Klaviyo account view products on in your store.
- Copy the product tracking code snippet below:
- Now from your BigCommerce dashboard, navigate to Storefront Design > My Themes.
- From the Current Theme, click the Advanced Settings dropdown and click Edit Theme Files. This opens the web editor.
NoteIf you're working with a default theme the option to Edit Theme Files will not appear. First make a copy of the theme, then make your edits to the copy. This is most likely the case if your new to BigCommerce or if you have never edited your default theme before.
- Navigate to templates > pages and scroll down to open the product.html page.
- At the bottom of this page, on a new line, paste in the code and click Save.
This enables product tracking on all of your product pages.
Data Synced with the BigCommerce Integration
With your BigCommerce integration you'll start to sync the following information about your customers:
- Sales and order data including which products were purchased, product images, price, and quantity.
- Customer information including first and last name, location, and how they found your store.
- Fulfillment, refunded, and cancelled order data.
- When people visit your website and what products and collections they view.
Manually Testing Web Tracking
To test that tracking is set up properly, go to a product page for your store, and add the following to the end of the URL, replacing email@example.com with your email address:
Click enter to reload the page. Now, when you search in Klaviyo for your email address. You should see a profile has been created and has tracked your product view.