mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01: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…
Add table
Add a link
Reference in a new issue