mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 00:24:44 +03:00
Bugfix: opening details UTM sources modal (#4295)
This commit is contained in:
parent
0594478add
commit
c871759fc1
@ -5,7 +5,7 @@ export function apiPath(site, path = '') {
|
||||
}
|
||||
|
||||
export function sitePath(path = '') {
|
||||
return `/${path}` + window.location.search
|
||||
return (path.startsWith('/') ? path : '/' + path) + window.location.search
|
||||
}
|
||||
|
||||
export function setQuery(key, value) {
|
||||
|
@ -168,6 +168,7 @@ native_stats_range
|
||||
screen_size: Enum.random(["Mobile", "Tablet", "Desktop", "Laptop"]),
|
||||
operating_system: Enum.random(["Windows", "Mac", "Linux"]),
|
||||
operating_system_version: to_string(Enum.random(0..15)),
|
||||
utm_campaign: Enum.random(["", "Referral", "Advertisement", "Email"]),
|
||||
pathname:
|
||||
Enum.random([
|
||||
"/",
|
||||
|
Loading…
Reference in New Issue
Block a user