Add a few lines with the Asset Injector module. The script is about 6 KB gzipped and loads asynchronously, so it won't hold up your pages.
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.
window.__TF_ID__ = 'TF-1A2B3C4D';
(function (d) {
var s = d.createElement('script');
s.async = true;
s.src = 'https://api.thravic.com/tf.js';
s.setAttribute('data-tracking-id', 'TF-1A2B3C4D');
d.head.appendChild(s);
})(document);Before you start: Drupal has no box for header code, so this uses the free Asset Injector module. The code above is the same tag written as JavaScript.
Data appears within a few minutes of your first visitor. Form inputs are masked in the browser before anything is sent.
WordPress · Shopify · Wix · Squarespace · Webflow · Framer · Ghost · Carrd · Bubble · Blogger · Joomla · Tag Manager · Next.js · AI agent · Other / HTML · React Native and Expo