All install guides

Install on Shopify

Add the tag to your theme’s layout file. The script is about 6 KB gzipped and loads asynchronously, so it won't hold up your pages.

1. Get your tracking ID

Create a free account, then add your site in the dashboard. It shows the snippet below with your own tracking ID filled in; the ID here is only an example.

2. The snippet

<script async src="https://api.thravic.com/tf.js" data-tracking-id="TF-1A2B3C4D"></script>

3. Add it

Before you start: A one-click Shopify app is on the way. Until then, add the snippet to your theme as below.

  1. Copy the snippet above.
  2. In your Shopify admin go to Online Store → Themes. Click the "..." menu next to your current theme and choose Edit code.
  3. Open Layout → theme.liquid.
  4. Paste the snippet just before the closing </head> tag, then click Save.
  5. In your Thravic dashboard, open the site and click Verify Installation.

Data appears within a few minutes of your first visitor. Form inputs are masked in the browser before anything is sent.

Other platforms

WordPress · Wix · Squarespace · Webflow · Framer · Ghost · Carrd · Bubble · Blogger · Joomla · Drupal · Tag Manager · Next.js · AI agent · Other / HTML · React Native and Expo