mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat(App): Horjar code on production envirement only.
This commit is contained in:
@@ -19,6 +19,8 @@
|
|||||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
-->
|
-->
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
|
|
||||||
|
<% if (process.env.NODE_ENV === 'production') { %>
|
||||||
<!-- Hotjar Tracking Code for https://app.bigcapital.ly/ -->
|
<!-- Hotjar Tracking Code for https://app.bigcapital.ly/ -->
|
||||||
<script>
|
<script>
|
||||||
(function (h, o, t, j, a, r) {
|
(function (h, o, t, j, a, r) {
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
a.appendChild(r);
|
a.appendChild(r);
|
||||||
})(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');
|
})(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');
|
||||||
</script>
|
</script>
|
||||||
|
<% } %>
|
||||||
<!--
|
<!--
|
||||||
Notice the use of %PUBLIC_URL% in the tags above.
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
It will be replaced with the URL of the `public` folder during the build.
|
It will be replaced with the URL of the `public` folder during the build.
|
||||||
|
|||||||
Reference in New Issue
Block a user