Bigcommerce integration

You can install SatisMeter on your BigCommerce store in two ways:

  1. Customize your template by editing the theme's files (recommended).
  2. Use BigCommerce's conversion and affiliate tracking.

In this article:

Customizing the theme

This method lets you install SatisMeter on almost any page of your store. It also lets you pass more information to SatisMeter.

You can install SatisMeter in your theme like so:

  1. From your store's dashboard, go to Storefront > My Themes. In the active theme, select Customize > Edit Theme Files.
    dashboard.png
    mythemes.png
    edit.png
  2. Under templates/pages, locate the file for the page where you want the survey to appear. For example, use order-confirmation.html for the "Thank you for your order" page.
  3. Paste the content of this gist inside the {{#partial "page"}} block.
    code.png
  4. Replace YOUR_WRITE_KEY with the write key for your SatisMeter project. In SatisMeter, you can find it under Settings > Integrations > API Keys.
  5. Click Save & apply file. SatisMeter is now installed in your store.

Note: Changes to checkout pages, such as checkout.html or order-confirmation.html, might not appear in your store. If so, enable Optimized One-Page Checkout, because some themes require it to use the checkout page files.

To show the survey, adjust its targeting settings as described in Adjusting targeting settings.

Using conversion and affiliate tracking

To install SatisMeter only on the order confirmation page, use BigCommerce's conversion and affiliate tracking code injection. With this method, you can pass only three pieces of information to SatisMeter: the order amount, the order ID, and the customer's email.

You can add the tracking code like so:

  1. From your store's dashboard, go to Advanced Settings > Affiliate Conversion Tracking.
  2. Paste the content of this gist in the Conversion Tracking Code area. If the area already has content, add the new code at the end, below the existing content.
  3. Replace YOUR_WRITE_KEY with the write key for your SatisMeter project. In SatisMeter, you can find it under Settings > Integrations > API Keys.
  4. Click Done. SatisMeter is now installed in your store.

To show surveys, adjust your survey's targeting settings as described in Adjusting targeting settings.

Adjusting targeting settings

By default, SatisMeter shows the survey based on the customer's sign-up date. Neither BigCommerce's theme templates nor its conversion and affiliate tracking provide this date. You can customize the survey's targeting under Settings > Surveys > Targeting.

image__29_.png

There, you can change the survey's targeting rules. Remove the existing rule to make the survey available to your customers.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

Our Support hours:
Monday to Friday from 9:00 am - 2:00 am CET. Monday to Friday from 0:00 am - 5:00 pm PST.