Skip to content

Open source personal finance application

update hotjar

ilkomee7a3c300b689
diff --git a/components/Metrica.vue b/components/Metrica.vue
index 8429e866..283f7955 100644
--- a/components/Metrica.vue
+++ b/components/Metrica.vue
@@ -1,6 +1,17 @@
<script>
export default {
- name: 'Metrica'
+ name: 'Metrica',
+
+ mounted () {
+ (function(h,o,t,j,a,r){
+ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
+ h._hjSettings={hjid:1947029,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>
@@ -24,15 +35,5 @@ export default {
<!-- Hotjar Tracking Code for https://finapp.ilko.me -->
</client-only>
- <script>
- (function(h,o,t,j,a,r){
- h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
- h._hjSettings={hjid:1947029,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>
</div>
</template>