Quick start
Add the script, open your dashboard and see your first visit.
This page takes you from an empty dashboard to your first visit. You need a site whose pages you can edit.
Add your site
Sign up, name your organization and add your site's domain. Events from other hostnames are rejected, so add the domain your visitors see. A domain covers its subdomains, so a site on
example.comcan countshop.example.comtoo. To track a subdomain separately, add it as another site. On a shared host, add your own address, likeyoursite.vercel.app, notvercel.app.If the site moves later, change its domain in the site's settings and its data comes along. Once a site receives events, it can move to another website once every 30 days. A new subdomain of the same website works any time.
Add the script
The install page shows this line with your site's ID filled in. Paste it once, into the
<head>of your site's main layout or base template.HTML <script defer src="https://cdn.ultanimus.com/s.js" data-site="YOUR_SITE_ID"></script>If you copy it from here, replace
YOUR_SITE_IDwith the ID in the site's settings. On Next.js or React, use the Next.js or React package instead. Other frameworks shows where the line goes in SvelteKit, Nuxt, Astro and others.Open your site
Visit any page of your site. The install check on your dashboard waits for the first event and turns live when it arrives, within a few seconds.
Rather let your coding agent do it? Set up with an AI agent has a prompt to copy.
Nothing showing up? Check that data-site matches your site ID and that the page is on the domain you added.
Next steps
- Send custom events for signups and purchases.
- Set up goals and funnels to see where visitors drop off.
