Installing the script

The browser tracker is a single async script tag with your public site key in the URL. It captures clicks automatically and exposes a helper for conversions.

The snippet

<script async src="https://www.conver.stream/tracker/PUBLIC_SITE_KEY.js"></script>

Replace PUBLIC_SITE_KEY with your account's public site key from the Installation page.

Where to paste it

Place this line inside the <head> of your HTML, on every page where you want clicks or conversions tracked. The async attribute keeps it from blocking your page load. If you use a tag manager or shared layout, add the snippet once to your shared <head> partial.

About the public key

The key you embed here is the public site key. It is designed to be visible in the browser — it can only record clicks and conversions for your account, never read or export data. Keep your secret API key out of any client-side code.

Verifying it loads

  • Load a tracked page and confirm a request to tracker.js returns 200 in your browser's Network tab.
  • In the Console, type window.ConverStream and confirm an object is returned.
  • Visit a page with a click identifier in the URL and confirm the click appears under Clicks.