Skip to content

Installation

Installing Assumetr requires placing a lightweight JavaScript snippet on your website.

The snippet itself does not use cookies, localStorage, or any persistent tracking mechanisms by default. It purely observes browser events and routes them according to your server-side Privacy Controls.

1. Retrieve Your Snippet

  1. Go to your Assumetr Dashboard.
  2. Navigate to Sites -> Select your Site.
  3. Click on the Setup tab to view your unique snippet.

2. Install the Snippet

Place the snippet in the <head> of your HTML document, ideally before any other analytics or tracking scripts.

html
<script>
  !function(e,t,n,a,s){e.assumetr=e.assumetr||function(){(e.assumetr.q=e.assumetr.q||[]).push(arguments)},
  e.assumetr.apiKey=a;var c=t.createElement(n);c.async=1,c.src=s;var r=t.getElementsByTagName(n)[0];
  r.parentNode.insertBefore(c,r)}(window,document,"script","YOUR_SITE_API_KEY","https://cdn.assumetr.com/v1/tr.js");
</script>

Replace YOUR_SITE_API_KEY with the API key provided in the dashboard.

3. Verify Installation

Once deployed, visit your website with the developer console open. The script will silently collect the initial pageview event.

You should see this event appear in the Evidence & Audit Trail tab of your Assumetr dashboard within 5 seconds.

Environments

We recommend creating separate Sites in Assumetr for your Staging and Production environments. This keeps your compliance evidence clean and separated by deployment boundary.