File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ const reload = () => {
4949
5050const leave = ( to : RouteLocationNormalized , from : RouteLocationNormalized ) => {
5151 if ( from . path !== to . path && typeof window !== "undefined" && window . analytics !== undefined ) {
52- const sessionId = ( typeof window . posthog !== "undefined" ) ? window . posthog . getSessionId ( ) : null ;
52+ // const sessionId = (typeof window.posthog !== "undefined") ? window.posthog.getSessionId() : null;
5353 window . analytics . track ( {
5454 event : "$pageleave" ,
5555 properties : {
5656 $host : window . location . hostname ,
57- $session_id : sessionId
57+ // $session_id: sessionId
5858 }
5959 } ) ;
6060 }
Original file line number Diff line number Diff line change 9494 site : "docs" ,
9595 title : "Home" ,
9696 $host : window . location . hostname ,
97- $session_id : posthog . getSessionId ( ) ,
97+ // $session_id: posthog.getSessionId(),
9898 } )
9999 }
100100 } ) ;
You can’t perform that action at this time.
0 commit comments