Déplace trackPageView vers Tracker.ts
Car disableCookies doit être appelé avant trackPageView.pull/917/head
parent
7df6e5d318
commit
233e9d34c3
|
@ -279,7 +279,6 @@
|
|||
'setDomains',
|
||||
['*.mon-entreprise.fr', '*.mycompanyinfrance.fr']
|
||||
])
|
||||
_paq.push(['trackPageView'])
|
||||
_paq.push(['enableHeartBeatTimer', 30])
|
||||
_paq.push(['enableLinkTracking'])
|
||||
;(function() {
|
||||
|
|
|
@ -33,6 +33,7 @@ export default class Tracker {
|
|||
if (iOSSafari && inIframe) {
|
||||
pushFunction(['disableCookies'])
|
||||
}
|
||||
pushFunction(['trackPageView'])
|
||||
}
|
||||
|
||||
connectToHistory(history: History) {
|
||||
|
|
Loading…
Reference in New Issue