Déplace trackPageView vers Tracker.ts

Car disableCookies doit être appelé avant trackPageView.
pull/917/head
Maxime Quandalle 2020-03-09 09:39:17 +01:00
parent 7df6e5d318
commit 233e9d34c3
No known key found for this signature in database
GPG Key ID: 428641C03D29CA10
2 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,6 @@
'setDomains',
['*.mon-entreprise.fr', '*.mycompanyinfrance.fr']
])
_paq.push(['trackPageView'])
_paq.push(['enableHeartBeatTimer', 30])
_paq.push(['enableLinkTracking'])
;(function() {

View File

@ -33,6 +33,7 @@ export default class Tracker {
if (iOSSafari && inIframe) {
pushFunction(['disableCookies'])
}
pushFunction(['trackPageView'])
}
connectToHistory(history: History) {