New aggregated insights just released Learn more →

Install Trace on Shopify

Add the snippet to your theme’s head

Written by Trace Team Updated 05-04-26

  1. In the Shopify admin, go to Online StoreThemes.
  2. On your live theme, choose Edit code.
  3. Under Layout, open theme.liquid.
  4. Paste your Trace snippet from the dashboard just before the closing </head> tag.
  5. Click Save.

Publish or preview your store, then use Verify installation on your Trace site Overview to confirm events are arriving.

If you switch themes later, repeat these steps on the new theme’s theme.liquid.

Still need help?

Contact our support team and we will get back to you as soon as we can.

support@usetrace.io