mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
save visit id and fix event id
This commit is contained in:
parent
04ea0bc68d
commit
971ccb6e41
3 changed files with 8 additions and 3 deletions
|
|
@ -83,6 +83,7 @@ async function relationalQuery(data: {
|
|||
await saveEventData({
|
||||
websiteId,
|
||||
sessionId,
|
||||
visitId,
|
||||
eventId: websiteEventId,
|
||||
urlPath: urlPath?.substring(0, URL_LENGTH),
|
||||
eventName: eventName?.substring(0, EVENT_NAME_LENGTH),
|
||||
|
|
@ -143,7 +144,7 @@ async function clickhouseQuery(data: {
|
|||
website_id: websiteId,
|
||||
session_id: sessionId,
|
||||
visit_id: visitId,
|
||||
event_id: uuid(),
|
||||
event_id: eventId,
|
||||
country: country,
|
||||
subdivision1:
|
||||
country && subdivision1
|
||||
|
|
@ -170,6 +171,7 @@ async function clickhouseQuery(data: {
|
|||
await saveEventData({
|
||||
websiteId,
|
||||
sessionId,
|
||||
visitId,
|
||||
eventId,
|
||||
urlPath: urlPath?.substring(0, URL_LENGTH),
|
||||
eventName: eventName?.substring(0, EVENT_NAME_LENGTH),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue