Clients
Node Client
Send pageviews and custom events to Umami from your server with the @umami/node client for Node.js.
Overview#
The Umami node client allows you to send data to Umami on the server side.
Installation#
Usage#
If using Umami Cloud, you can use https://gateway.umami.is as the host URL.
The properties you can send using the .track function are:
- hostname: Hostname of server
- language: Client language (e.g. en-US)
- referrer: Page referrer
- screen: Screen dimensions (e.g. 1920x1080)
- title: Page title
- url: Page URL
- name: Event name (for custom events)
- data: Event data properties