Installation & setup

Installing on Shopify

The Shopify app installs the snippet across your storefront and wires checkout goals without touching theme code.

5 min read Updated June 2026 Installation & setup
<script defer src="cdn.bobray.com/b.js">

Install

  1. Open the BobRay app from the Shopify App Store and click Install.
  2. Approve the requested scope, it only needs to inject the storefront script and read order-status page context.
  3. Paste your site ID in the app's settings screen and save.

Checkout tracking

The app fires a purchase goal on the thank-you page including order value as event metadata, no customer-identifying data leaves the page. Cart and checkout steps can be added as funnel stages from Goals → Funnels using the standard /cart and /checkouts paths.

Theme editors and previews

Traffic from the Shopify theme editor and preview links is filtered automatically so design sessions never pollute your numbers.

Using a headless Shopify storefront? Skip the app and install the snippet in your frontend framework, then see Single-page applications.

Common pitfalls

The mistakes we see most often on this topic, so you can skip them entirely.

Quick reference

InstallShopify App Store → BobRay
Checkout goalpurchase + order value
Funnels/cart → /checkouts → purchase
Headless?Use the JS snippet instead
Did this solve it? If not, write to support with your site ID, a real person replies within one business day.