mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Add event collection.
This commit is contained in:
parent
1ca72cbd9c
commit
9f3acd1583
6 changed files with 87 additions and 3 deletions
|
|
@ -91,6 +91,8 @@ export function parseCollectRequest(req) {
|
|||
const {
|
||||
url,
|
||||
referrer,
|
||||
eventType,
|
||||
eventValue,
|
||||
session: { website_id, session_id, time, hash: validationHash },
|
||||
} = payload;
|
||||
|
||||
|
|
@ -107,6 +109,8 @@ export function parseCollectRequest(req) {
|
|||
session_id,
|
||||
url,
|
||||
referrer,
|
||||
eventType,
|
||||
eventValue,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue