[fix #3542] Fix https bug in matomo
Signed-off-by: Chaïb Martinez <chaibax@gmail.com>
This commit is contained in:
parent
b6bb33dcaf
commit
b6552f45ab
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
addEventListener('turbolinks:load', function(event) {
|
||||
if (previousPageUrl) {
|
||||
_paq.push(['setReferrerUrl', previousPageUrl]);
|
||||
_paq.push(['setCustomUrl', '/' + window.location.href]);
|
||||
_paq.push(['setCustomUrl', window.location.href]);
|
||||
_paq.push(['setDocumentTitle', document.title]);
|
||||
if (event.data && event.data.timing) {
|
||||
_paq.push(['setGenerationTimeMs', event.data.timing.visitEnd - event.data.timing.visitStart]);
|
||||
|
|
Loading…
Reference in a new issue