Install the tracker
You've added your site. One line left: paste this tag into your site's <head> so it loads on every page. Then open your dashboard and check it's live. It's the same one line for every platform below.
<script src="https://askbowtie.com/bowtie.js" async></script>
No account key, no config. The tag figures out your domain on its own. Put it before </head>, or anywhere in <head>.
Pick your setup
Every method drops the same one line onto every page. Choose how you edit your site:
Plain HTML or a codebase you edit
Static sites, custom templates, or any framework.
- Open the layout or template file shared by every page (often
layout.html,base.html,header.php, or your theme header). - Find the closing
</head>tag. - Paste the snippet on a new line just before
</head>. Deploy.
React, Vue, Next.js, and other SPAs: put the tag in your root layout head (Next.js app router: app/layout; plain React/Vite: index.html). The tracker follows client-side route changes automatically, so one tag covers every route. No per-page wiring.
Wix, Squarespace, Webflow: use the built-in custom-code box (Settings, then custom code or code injection) and paste the snippet into the Head, set to load on all pages.
WordPress
Self-hosted or managed WordPress.
Easiest, a header plugin:
- Install and activate WPCode (or "Insert Headers and Footers").
- Open WPCode › Header & Footer (or the plugin's Header box).
- Paste the snippet into the Header section. Save.
Or your theme: add it to header.php just before </head>. Use a child theme so an update won't overwrite it.
Your own logged-in WordPress browsing is excluded automatically, so you won't pollute your own data. No setup needed.
Shopify
Any Shopify plan.
- Go to Online Store › Themes.
- On your live theme, click … › Edit code.
- Open theme.liquid. Find
</head>(Cmd/Ctrl+F). - Paste the snippet on a new line just before
</head>. Save.
Placing it in theme.liquid loads it on every storefront page: products, cart, collections.
Google Tag Manager
Sites already running GTM.
- In your container, go to Tags › New.
- Under Tag Configuration, choose Custom HTML and paste the snippet.
- Under Triggering, choose All Pages.
- Click Save, then Submit to publish the container.
Cloudflare
Domains on Cloudflare.
Zaraz (recommended):
- Cloudflare dashboard, your domain, then Zaraz › Tools.
- Add a tool, choose Custom HTML, and paste the snippet.
- Set the trigger to fire on all page views. Save and publish.
Zaraz loads the tag off your main thread, so it stays out of your page's critical path, and you can change or remove it from the dashboard with no code deploy.
Then check it's working
Once the tag is live on your site, open your askbowtie dashboard and hit check my site. It fetches your homepage and confirms the tag is served. Your first visitors start showing up in the dashboard from there.
Not detected yet? Confirm the tag is in your served HTML (View Source, search for bowtie.js), that it's on the page you registered, and that you've deployed. Then check again.
The honest facts
- SizeA 9.8 KB loader on the critical path. Everything else loads async and never blocks rendering.
- CookiesNone. The tracker is cookieless.
- PrivacyIt never captures names, emails, form fields, or the text people click, and it doesn't store visitor IP addresses.
- Your dataEach site's data lives in its own database.
- RemovalDelete the one line. That's the whole uninstall.
For AI agents
Building with a coding agent (Claude Code, Cursor, and the like)? Hand it this:
Add this exact script tag to the shared layout that loads on every page,
just before the closing </head>. Do not add any attributes or change it:
<script src="https://askbowtie.com/bowtie.js" async></script>
Once data is flowing, your agent can query it all over MCP: errors, analytics, organic search, and paid. Point it at the playbooks to explore.
Starting from zero? Create your account and add your domain first, then come back here.