Fix sending of visit variables
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
0c4ee0091e
commit
f53c415504
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class Analytics {
|
||||||
...data,
|
...data,
|
||||||
url: getRedactedUrl(),
|
url: getRedactedUrl(),
|
||||||
|
|
||||||
_cvar: this.visitVariables, // user custom vars
|
_cvar: JSON.stringify(this.visitVariables), // user custom vars
|
||||||
res: `${window.screen.width}x${window.screen.height}`, // resolution as WWWWxHHHH
|
res: `${window.screen.width}x${window.screen.height}`, // resolution as WWWWxHHHH
|
||||||
rand: String(Math.random()).slice(2, 8), // random nonce to cache-bust
|
rand: String(Math.random()).slice(2, 8), // random nonce to cache-bust
|
||||||
h: now.getHours(),
|
h: now.getHours(),
|
||||||
|
|
Loading…
Reference in a new issue