mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Merge branch 'dev' into analytics
This commit is contained in:
commit
44d428618d
1 changed files with 6 additions and 1 deletions
|
|
@ -138,7 +138,12 @@ async function clickhouseQuery(data: {
|
||||||
session_id: sessionId,
|
session_id: sessionId,
|
||||||
event_id: uuid(),
|
event_id: uuid(),
|
||||||
country: country,
|
country: country,
|
||||||
subdivision1: subdivision1,
|
subdivision1:
|
||||||
|
country && subdivision1
|
||||||
|
? subdivision1.includes('-')
|
||||||
|
? subdivision1
|
||||||
|
: `${country}-${subdivision1}`
|
||||||
|
: null,
|
||||||
subdivision2: subdivision2,
|
subdivision2: subdivision2,
|
||||||
city: city,
|
city: city,
|
||||||
url_path: urlPath?.substring(0, URL_LENGTH),
|
url_path: urlPath?.substring(0, URL_LENGTH),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue