Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions content/docs/tracker-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@ Event Data can work with any JSON data. There are a few rules in place to mainta
- Arrays are converted to a String, with the same max length of 500.
- Objects have a max of 50 properties. Arrays are considered 1 property.

## Overriding Event Timestamps

You can override the event timestamp by adding a UNIX timestamp in seconds to the payload:

```js
umami.track(props => ({
...props,
name: 'signup-button',
timestamp: 1771523787, // new Date().getTime() / 1000
}));
```

## Sessions

Pass in your own ID to identify a user.
Expand Down