Install Boostra on Shopify

Connect your Shopify store with a custom app and Boostra installs tracking and imports orders for you.

Updated

On Shopify you usually do not paste the snippet at all. When you connect your store, Boostra installs the tracker as a script tag and starts syncing orders.

  1. Add your store as a project. Boostra detects it: "Shopify store detected."
  2. In the setup wizard, pick "Shopify" as the payment provider and open "Connect Shopify".
  3. Create a custom app in the Shopify Dev Dashboard, then paste your store domain (your-store.myshopify.com), the "Client ID" and the "Client Secret".
  4. Click "Connect Shopify" and approve the Boostra custom app in the Shopify tab that opens.

When it finishes you see "Shopify connected. Tracking script installed automatically — do not paste the snippet in your theme." Do not also paste it by hand, or every visit is counted twice.

The full connection, the access it requests and what syncs are covered in connect Shopify.

Manual install#

If Boostra could not install the script tag, it tells you to paste the snippet manually. Then:

  1. In Shopify, go to Online Store, Themes, then Edit code on your theme.
  2. Open layout/theme.liquid.
  3. Paste the snippet from "Copy snippet" just before </head>.
  4. Save.

Then confirm it as described in check that tracking is live.

What the tracker adds on Shopify#

On a Shopify storefront the tracker also records two goals on its own: add_to_cart and checkout_started. They feed the shopping funnel and Shopify KPIs such as "Add-to-cart rate" and "Checkout completion". If you do not want them, add data-shopify-goals="false" to a manually pasted tag.

Keeping it up to date#

When Boostra releases a new tracker, connected stores are updated automatically within a few minutes. If an outdated-tracker warning stays, disconnect and reconnect Shopify. See update an outdated snippet.

Related articles