Fix sending of visit variables

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-02-13 11:50:40 +00:00
parent 0c4ee0091e
commit f53c415504
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class Analytics {
...data,
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
rand: String(Math.random()).slice(2, 8), // random nonce to cache-bust
h: now.getHours(),