---
title: "Getting started with BigCommerce"
description: "Learn how to enable the BigCommerce integration in Klaviyo, add Viewed Product tracking, and confirm that all onsite tracking is working properly for your store."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/115005082547"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/115005082547.md"
locale: "en-us"
category: "Integrations"
section: "Getting started with BigCommerce"
updated: "2026-10-27"
---

# Getting started with BigCommerce

## You will learn

Learn how to enable the BigCommerce integration in Klaviyo, add *Viewed Product* tracking, and confirm that all onsite tracking is working properly for your store. 

When you integrate with BigCommerce, your historic ecommerce, customer, and catalog data is synced into your Klaviyo account. With **Automatically add Klaviyo onsite javascript (Recommended)** selected, the integration adds Klaviyo's onsite tracking snippet to your BigCommerce store. This allows you to add Klaviyo sign-up forms to your site and track when your customers are active on your site. The BigCommerce integration also sets up a real-time sync to capture future data.

## Before you begin

Before integrating, we recommend logging out of both BigCommerce and Klaviyo.

The Viewed Product instructions below are for BigCommerce Stencil themes.

## How to integrate video

🎬 [Watch video on Wistia](https://klaviyo.wistia.com/medias/cklrl4qtcm)

## Enable the BigCommerce integration

To integrate Klaviyo with BigCommerce:

1. Log in to your Klaviyo account.

2. Select **Integrations** in the left-hand navigation.

3. Click **Explore apps** and search for BigCommerce, then click the card. Then, click **Install**.

4. Click **Connect to BigCommerce**, log in to BigCommerce when prompted, then click **Install**. 

5. Review the permissions and click **Confirm** to be brought back into Klaviyo.




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d8f3e15423385cb72552dd43424dd992ca3e3da3-1294x1034.png?auto=format)

6. Review the **Store URL** shown in Klaviyo. It is filled in automatically after you authorize the integration and cannot be edited here. This is your store’s permanent BigCommerce address, which is different from the storefront URL your customers visit.



![BigCommerce store details page showing permanent address field with blurred address](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/ca884f8188f85a47d5467bb13d1ad79d34337dcf-2086x778.jpg?auto=format)

7. Keep **Automatically add Klaviyo onsite javascript (Recommended)** selected to enable onsite tracking and Klaviyo sign-up forms.

8. If you’d like to sync new email subscribers from BigCommerce, check **Sync your BigCommerce email subscribers to Klaviyo**. From then on, contacts who opt in during checkout or through a BigCommerce footer form will be subscribed to the Klaviyo list you select. Choose a list from the dropdown. If you prefer, you can [create a new list](https://help.klaviyo.com/hc/en-us/articles/115005251128.md#h_01JNPKCA13NRD4QFNG6AVE1VZP) instead.



Historical customer and subscriber profiles can sync without being subscribed to your selected email list. To add existing email subscribers to that list, [import contacts with consent](https://help.klaviyo.com/hc/en-us/articles/115005251128.md).

SMS consent at BigCommerce checkout is not supported for age-gated accounts.

1. To collect SMS subscribers who opt in via BigCommerce, check the setting to **Sync your BigCommerce Text Message subscribers to Klaviyo**. Before collecting SMS subscribers, you must first [set up SMS for your Klaviyo account](https://help.klaviyo.com/hc/en-us/articles/4404274419355.md).

2. If you decide to collect SMS subscribers at checkout, choose the list you want them added to. We recommend using separate lists for email and SMS subscribers. Enter your **Privacy policy URL** and **Mobile terms of service URL**, then copy the code snippet. Follow our guide to [collecting SMS consent at checkout with BigCommerce](https://help.klaviyo.com/hc/en-us/articles/360058194032.md) to add the snippet to your checkout. You must also include disclosure language for TCPA compliance.

3. When you're done, click **Complete setup**.



You've successfully enabled the BigCommerce integration.

## Confirm onsite tracking installation

When you integrated with BigCommerce, a Klaviyo.js file which enables onsite tracking was automatically installed in your BigCommerce store if you checked the relevant setting. Klaviyo.js does 2 things:

- It enables you to add Klaviyo sign-up forms to your site directly from your Klaviyo account.

- It adds *Active on Site* tracking, which allows you to track when your customers access your site.



You can verify that Klaviyo.js is installed using the steps below. Viewed Product tracking requires the separate setup and test in the next section.

1. In your Klaviyo account, click **Integrations**.

2. In the upper right corner, click **Manage data > Set up web tracking**.

3. Under **Confirm onsite tracking is enabled**, enter the storefront URL your customers visit, then click **Confirm**.

4. If Klaviyo cannot detect onsite tracking and offers **Run test**, click it to open your store in a new window. Once the page loads, return to Klaviyo. If the check still fails, follow the error message before continuing.



![Setup web tracking page in Klaviyo showing three steps, third step has a text box filled with a BigCommerce store URL and Next with a blue background](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/a713e75d5ffbc9df789431861fc032acec8f4f1f-2254x1336.jpg?auto=format)

If you see **Update your website in account settings**, choose **Continue without updating** to keep the website URL saved in your account, or **Update** to replace it with the URL you just checked. Updating also affects existing templates that link to your website.

1. Look for **You’ve enabled onsite tracking** to confirm that the installation check succeeded.



![Klaviyo setup web tracking page step 3 shows a box with a generated link, and Data received continue with arrow and green background](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/f149a83fb46b4e1dba100a20b52811b67832f4ef-1512x552.jpg?auto=format)

2. Keep this screen open to add Viewed Product tracking in the next section.



## Add Viewed Product tracking

*Viewed Product* tracking allows you to track when identifiable visitors view your products. To enable *Viewed Product* tracking, you will need to add a *Viewed Product* code snippet to your BigCommerce theme file. 

**📝 Note:** *Viewed Product* tracking is necessary for building flows such as a browse abandonment flow, which you can learn more about in [Creating a Browse Abandonment Flow](https://help.klaviyo.com/hc/en-us/articles/115002775252.md?utm_source=How%20to%20Integrate%20with%20Big%20Commerce%20Stencil%20Themes%20Viewed%20Product&utm_medium=Help%20Center%20article&utm_campaign=BC%20Viewed%20Product#build-your-own-browse-abandonment-flow9).

1. If you closed the onsite tracking screen, go to **Integrations > Manage data > Set up web tracking** and confirm your storefront URL again.

2. On the **You’ve enabled onsite tracking** screen, expand **Install Viewed Product tracking**.

3. Click **Copy** to copy the Viewed Product snippet.



![Klaviyo setup web tracking page step 2 showing viewed product code snippet in box](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/4944a0aee9c8d6f3cb1c159f11ad2bcad1bb67f7-1024x496.jpg?auto=format)

4. Next, you'll paste the *Viewed Product* code snippet into your BigCommerce theme file. In a new tab, log in to your BigCommerce dashboard and navigate to **Storefront** > **My Themes**.

5. From the *Current Theme*, click the **Advanced Settings** dropdown and click **Edit Theme Files**. If you're working with a default theme, the option to edit theme files will not appear. First, make a copy of the theme, and then make your edits to the copy. Any edits you make will only apply to the theme you are editing. Note that if you change your theme in the future, you will need to install Viewed Product tracking to your new theme.




![BigCommerce My Themes page with Advanced dropdown open for current theme and Edit Theme Files highlighted in light blue](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/2ff03f813fcd0c393b17bf2d7a75e4fccf1c42c6-847x523.jpg?auto=format)

6. In the editor, navigate to **Templates > Pages**, scroll down, and click to open the **product.html** page.

7. At the bottom of this page, paste the Viewed Product code snippet. Then save and apply your changes using **Save & apply all files**.



![BigCommerce file editor showing product.html file with Klaviyo Viewed Product snippet added to bottom](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/4e6dbfe24347d2f99eb77b3fae795eebec2cd72e-2794x1434.jpg?auto=format)

Make sure the theme you edited is applied to your storefront. Viewed Product tracking works on the product pages that use the template you updated.

### Test Viewed Product tracking

1. Open your storefront and add `?utm_email=example@gmail.com` to the end of the URL, replacing `example@gmail.com` with your own email address. Load the page to identify your browser.

2. In the same browser, open a product page that uses the updated template.

3. In Klaviyo, search for your email address and open your profile. Check the activity feed for a *Viewed Product* event for that product. If it is missing, confirm that Klaviyo.js is enabled and that the snippet is saved in the theme applied to your storefront.



## Data synced to Klaviyo

**📝 Note:** The BigCommerce integration syncs with Klaviyo in real-time.

After you've enabled your BigCommerce integration, it will 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 name, last name, and how they found your store. 



**📝 Note:** Location information is only synced to Klaviyo if the customer has placed an order.

- Fulfillment, refund, and canceled order data.

- Website visits through *Active on Site* tracking, and product views through *Viewed Product* tracking after you add the snippet. Viewed Product events include the viewed product’s categories.



To view BigCommerce event data in your Klaviyo account:

1. Click the **Analytics** dropdown and select **Metrics**. 

2. Select **BigCommerce** from the **Integration** filter to display BigCommerce metrics. These metrics have the BigCommerce icon.



![Klaviyo metrics tab filtered by BigCommerce with 6 BigCommerce metrics showing in list including Cancelled Order and Fulfilled Order](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/2183bb428eff640f883948212806600370c6da9d-1034x840.jpg?auto=format)

3. Read more about [your BigCommerce Data](https://help.klaviyo.com/hc/en-us/articles/115005082587.md) for a full reference of all the types of data and specific events that sync to Klaviyo.



To find *Active on Site* and *Viewed Product* events, use the **API** filter instead. These onsite events have a gear icon.

**📝 Note:** Klaviyo limits the number of unique metrics you can create to 200. When you approach this threshold, you will be alerted via a warning in your account, along with an email to the account owner.

## Outcome

You've successfully enabled the BigCommerce integration, confirmed that onsite tracking is working, and added *Viewed Product* tracking to your store. 

## Next steps

With your integration running, you can use your synced data to set up flows, sign-up forms, segments, and campaigns in Klaviyo.

After you complete the items in this category, you'll be all set to get the most out of Klaviyo's features. 

- [Set up your welcome series flow](https://help.klaviyo.com/hc/en-us/articles/115002775172.md).

- [Set up your abandoned cart flow](https://help.klaviyo.com/hc/en-us/articles/115002779411.md).

- [Add a Klaviyo sign-up form to your site](https://help.klaviyo.com/hc/en-us/articles/360026474752.md). We also have go-to options for using your existing forms or third-party form providers, but we recommend Klaviyo forms because they are free and you can target key Klaviyo segments.

- Create your core segments ([Engaged](https://help.klaviyo.com/hc/en-us/articles/115000200072.md), [Never engaged](https://help.klaviyo.com/hc/en-us/articles/115005078347.md), [VIP](https://help.klaviyo.com/hc/en-us/articles/115005065707.md)).

- [Send your first campaign](https://help.klaviyo.com/hc/en-us/articles/115005054847.md).

## Additional resources

- [BigCommerce data reference](https://help.klaviyo.com/hc/en-us/articles/115005082587.md)
  Learn what data is synced to Klaviyo when you integrate with your BigCommerce store, such as order and customer data, and how to access it in Klaviyo.
- [How to create an "Added to Cart" event for BigCommerce](https://help.klaviyo.com/hc/en-us/articles/360024310292.md)
  Learn how to create an Added to Cart event for BigCommerce that tracks when a customer adds an item to their cart and can trigger an abandoned cart flow. Added to Cart events do not automatically track when you integrate with BigCommerce; you must first add (and potentially modify) a JavaScript snippet (included in this guide) to your BigCommerce theme files.
- [Klaviyo's Agency Partners](https://klaviyo.partnerpage.io/?utm_source=helpcenter&utm_medium=integrations)
