• Product

    • FeaturesFunnels, alerts, AI traffic and imports.
    • Live mapVisitors on a globe as they arrive.
    • SpeedA script under 1 KB. Visits in a second.
    • Integrations26 tools, from Slack to WordPress.
    • MCP serverAI tools set up sites and dashboards.

    Get started

    • Quick startOne script tag, and visits show up.
    • With an AI agentOne prompt, and your agent adds it.
    • API and CLIYour numbers in scripts and CI.
    • Install guides
      • Script tag
      • Next.js
      • React
      • Website builders
    Live demoacme.devLast 30 daysVisitors1,49325.5%PageVisitors/612/pricing341/docs/install208Click around before you sign up.Open the demoCompareHow we stack up against Google Analytics, Plausible, Fathom, PostHog and Umami
  • Company

    • AboutWhy it exists and how it is built.
    • BlogPrivacy, speed and how we build.
    • ContactQuestions on plans, setup or privacy.
    • BrandThe logo, colors, type and files.

    Trust

    • PrivacyWhat we collect and why.
    • TermsPlans, limits and your data.
    • StatusWhether everything is up right now. (opens in a new tab)
    Latest post4checks before DirectWhere Direct traffic comes fromNov 11, 2026Read the post
  • Blog
  • Docs
  • Pricing
Sign inStart free
FeaturesDemoSpeedBlogDocsPricing
Start freeSign in

Free for three sites. No card needed.

Getting started

  • Introduction
  • Quick start
  • Set up with an AI agent
  • CLI
  • CLI guide
  • How counting works

Install

  • Script tag
  • Next.js
  • React
  • React Native and Expo
  • Swift
  • Other frameworks
  • Server
  • Website builders

Mobile

  • Mobile apps
  • Screens and events
  • Swift apps
  • Development builds
  • Visitors and offline
  • App Store and Play privacy

Dashboard

  • Overview and filters
  • Custom dashboards
  • Realtime
  • Events page
  • Explore
  • Segments
  • Sessions
  • People
  • Journeys
  • Retention
  • Load
  • Web vitals
  • Errors
  • Revenue
  • Search Console
  • Visibility
  • Data quality
  • Transfer a site
  • Import and export
  • Scheduled reports

Tracking

  • Custom events
  • Signed-in users
  • Links and downloads
  • Goals and funnels
  • Alerts
  • Annotations
  • Excluded pages
  • Page addresses
  • Share links and embeds
  • Sitemaps

API

  • Overview
  • Query API
  • Load and vitals
  • Raw export
  • Live stream
  • MCP server

Platform

  • Architecture
  • Privacy and data

Getting started

  • Introduction
  • Quick start
  • Set up with an AI agent
  • CLI
  • CLI guide
  • How counting works

Install

  • Script tag
  • Next.js
  • React
  • React Native and Expo
  • Swift
  • Other frameworks
  • Server
  • Website builders

Mobile

  • Mobile apps
  • Screens and events
  • Swift apps
  • Development builds
  • Visitors and offline
  • App Store and Play privacy

Dashboard

  • Overview and filters
  • Custom dashboards
  • Realtime
  • Events page
  • Explore
  • Segments
  • Sessions
  • People
  • Journeys
  • Retention
  • Load
  • Web vitals
  • Errors
  • Revenue
  • Search Console
  • Visibility
  • Data quality
  • Transfer a site
  • Import and export
  • Scheduled reports

Tracking

  • Custom events
  • Signed-in users
  • Links and downloads
  • Goals and funnels
  • Alerts
  • Annotations
  • Excluded pages
  • Page addresses
  • Share links and embeds
  • Sitemaps

API

  • Overview
  • Query API
  • Load and vitals
  • Raw export
  • Live stream
  • MCP server

Platform

  • Architecture
  • Privacy and data

Cookieless web and product analytics. Fast to load, fast to read.

Start free, no card needed

Product

FeaturesLive mapDemoTry it on your siteSpeedPricingCompare

Get started

InstallDocsQuestionsSign inStart freeJoin the waitlist

Company

AboutBlogContactStatus (opens in a new tab)Brand

Legal

Privacy policyTerms of service

© 2026 Ultanimus. This site sets no cookies.

Tracking

Links and downloads

Count clicks on links to other sites and on files people download, with one attribute on the snippet.

The script can record two kinds of clicks with no code on your side: links that leave your site, and files people download. Both arrive as custom events, so the Events page, goals and funnels handle them like any event you send yourself. Both are off until you turn them on.

Turn them on#

Add data-outbound, data-downloads or both to the snippet.

HTML
<script defer src="https://cdn.ultanimus.com/s.js" data-site="YOUR_SITE_ID" data-outbound data-downloads></script>

With the Next.js or React package, pass the same two props.

TSX
<Analytics site="YOUR_SITE_ID" outbound downloads />

Turning either on loads a second file of under 1 KB gzipped.

What counts#

EventSent when someone clicksIts url
outbound_linkA link to another hostnamegithub.com/acme/app
file_downloadA link to a file, or any link with the download attributeacme.com/files/guide.pdf
  • One click sends one event. A file on another site counts as a download when data-downloads is on, and as an outbound link when only data-outbound is.
  • www.acme.com and acme.com are the same host. Other subdomains are not, so a link from acme.com to app.acme.com is an outbound link.
  • A click, a middle click and Enter on a focused link all count. Opening a link from the right-click menu does not.
  • mailto: and tel: links send nothing.

A file is a link whose path ends in one of these extensions, in any case:

  • Documents: pdf doc docx xls xlsx ppt pptx key csv txt rtf epub
  • Archives and disk images: zip gz tgz rar 7z iso dmg
  • Installers: exe msi pkg deb rpm apk
  • Audio and video: mp3 wav mp4 mov avi mkv

What the url keeps#

url is the link's host and path. The script drops the query string and the fragment, where tokens and email addresses often sit, and a trailing slash. A click on https://github.com/acme/app/?ref=home sends github.com/acme/app.

See them in the dashboard#

Open outbound_link or file_download on the Events page. Its url tab ranks the links or files by visitors, and a click on one filters by it. The Activity feed on the Realtime page shows each click within a second, with the link the visitor followed and the page they clicked it on. Make either event a goal to count every outbound click or every download as a conversion.

Tip

Each click is one event, so it counts toward your plan's monthly events like any custom event.

PreviousSigned-in usersNextGoals and funnels

On this page

  • Turn them on
  • What counts
  • What the url keeps
  • See them in the dashboard
View as Markdown