No accounts required. No email needed. Just one API call or a script tag — and you're tracking.
Send a POST, get back a site ID, tracking snippet, and dashboard URL — ready to use.
MagnetHits is designed for CI pipelines, LLM workflows, and automated scripts. No human required to spin up analytics.
import requests
# Works in any script, agent, or CI step
res = requests.post(
"https://api.magnethits.com/api/v1/agent/signup"
)
data = res.json()
site_code = data["site_code"]
snippet = data["embed_snippet"]
dashboard = data["dashboard_url"]
# Inject snippet into your site's HTML
print(f"Tracking active: {dashboard}")
Clean dashboard. Privacy-first. No cookie banners, no GDPR creep. Just the data you actually need.
Paste one line into your HTML. That's it.
<script data-magnethits="YOUR_SITE_ID" async src="//cdn.magnethits.com/track.js"> </script>
Replace YOUR_SITE_ID with your site_id — or
read the full install docs →
Call POST /api/v1/agent/signup or use the UI. Get a site_id instantly. No email, no card.
Paste the returned script tag into your HTML — or send hits programmatically via the API.
Events appear on your dashboard in real time. Share the URL or query it programmatically.
No email. No credit card. No friction.
curl -X POST https://api.magnethits.com/api/v1/agent/signup