Sfoglia il codice sorgente

fix: log page view on first visit

poeti8 6 anni fa
parent
commit
998cdd1e65
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      client/pages/_app.tsx

+ 1 - 0
client/pages/_app.tsx

@@ -53,6 +53,7 @@ class MyApp extends App<any> {
 
     if (isProd) {
       initGA();
+      logPageView();
     }
 
     Router.events.on("routeChangeStart", () => loading.show());