Merge pull request #4068 from matrix-org/t3chguy/piwik_csp
Fix sending of visit variables to Matomopull/21833/head
						commit
						4952b5b001
					
				|  | @ -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(), | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Michael Telatynski
						Michael Telatynski