Back to onboarding

Install guide

Install on Shopify

Edit your theme to drop the tracker into the global <head>, then deploy.

Snippet

{% comment %} Online Store → Themes → Actions → Edit code → theme.liquid {% endcomment %}
<script src="https://api.sourcetrace.xyz/t.js?key=YOUR_API_KEY" async></script>

Replace YOUR_API_KEY with the key from Settings → Sites.

Steps

  1. 1.From your Shopify admin, open Online Store → Themes.
  2. 2.Click Actions → Edit code on the live theme.
  3. 3.Open layout/theme.liquid and paste the snippet inside <head>.
  4. 4.Hit Save. Visit your storefront to fire the first event.

Screenshots

Shopify code editor with theme.liquid highlighted.

A live storefront page open after deploy.