All install guides

Install on any HTML site

Paste one tag into your site’s head. 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

  1. Copy the snippet above.
  2. Open your website's HTML file (usually index.html).
  3. Paste it just before the closing </head> tag.
  4. Save and re-deploy your site.
  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 · Shopify · Wix · Squarespace · Webflow · Framer · Ghost · Carrd · Bubble · Blogger · Joomla · Drupal · Tag Manager · Next.js · AI agent · React Native and Expo