Quickstart

Collect data

To start collecting data, you need to install the tracker script to your website.

To get your tracking code, click on the Edit button for the website you want to track.

image

The tracking code can be found under the Tracking code section.

Copy the code and insert it into the <head> section of your website.

image

Then visit your website and data should immediately appear in your Umami dashboard.

Troubleshooting

  • Data not appearing? Open your browser developer tools (F12) and check the Network tab for requests to your Umami instance. Make sure the script is loading without errors.
  • Ad blockers may prevent the tracking script from loading. See Bypass ad blockers for solutions.
  • Next.js - Insert the tracking code using the next/script component instead of a plain <script> tag.
  • Single page applications - Umami automatically tracks page navigations in SPAs. No additional configuration is needed.

On this page