Skip to content

Commit

Permalink
feat: Ajoute la lib Hotjar
Browse files Browse the repository at this point in the history
  • Loading branch information
benguedj committed Nov 13, 2023
1 parent ec815b9 commit a052f82
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class MyApp extends App {
content="1000 premiers jours"
key="title"
/>
{/* <!-- Hotjar Tracking Code for 1000PJ --> */}
<script src="../js/hotjar.js" defer=""></script>
</Head>
<Component {...pageProps} />
</ThemeProvider>
Expand Down
9 changes: 9 additions & 0 deletions public/js/hotjar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable prettier/prettier */
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3733360,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');

0 comments on commit a052f82

Please sign in to comment.