Skip to content

Commit

Permalink
hotjar and google analytics added to site
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshuNegi755 committed Dec 5, 2020
1 parent 61f413f commit 9d0703a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,23 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="An online realtime discussion platform"
/>
<meta name="google-site-verification" content="8-aFwr_jpXtKZEpf1ohFgIXtgG87XVQ6_sG3ib1sCs0" />

<!-- Hotjar Tracking Code for http://chat.dineezy.com -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:2140578,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=');
</script>


<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Chat/Chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const Chat = ({ location, user }) => {
}
});
}*/
} else { setOnline(false); }
} else { setOnline(false); /*alert('you are offline');*/ }
}

if(!loggedIn) {
Expand Down

0 comments on commit 9d0703a

Please sign in to comment.