All install guides

Install with Google Tag Manager

Add a Custom HTML tag that fires on every page. 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: Your site must already have the Google Tag Manager container code on it.

  1. Copy the snippet above.
  2. In Google Tag Manager open your container, go to Tags and click New.
  3. Click Tag Configuration → Custom HTML and paste the snippet. Name the tag "Thravic".
  4. Click Triggering, choose Initialization - All Pages, and Save.
  5. Click Submit, then Publish.
  6. 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 · Next.js · AI agent · Other / HTML · React Native and Expo