Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Hotjar trackign code #840

Closed
karolbzik opened this issue Mar 10, 2018 · 1 comment
Closed

Adding Hotjar trackign code #840

karolbzik opened this issue Mar 10, 2018 · 1 comment
Labels
good first issue Tasks that requires just basic understanding of Vue Storefront ux UX design improvements vs-hackathon Tasks for the Hackathon
Milestone

Comments

@karolbzik
Copy link
Collaborator

For user experience improvement we want to perform analysis of click/scroll tracking with Hotjar.

Could someone help me with adding tracking code?

<!-- Hotjar Tracking Code for www.demo.vuestorefront.io -->
<script>
    (function(h,o,t,j,a,r){
        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
        h._hjSettings={hjid:809374,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>

Details from Hotjar https://help.hotjar.com/hc/en-us/articles/115009336727-Manually-Adding-the-Tracking-Code.

@karolbzik karolbzik added enhancement good first issue Tasks that requires just basic understanding of Vue Storefront ux UX design improvements labels Mar 10, 2018
@upandfine
Copy link
Contributor

In the Settings (Hotjar) page the following must be set:

"Track changes automatically, including fragments"

Link: https://help.hotjar.com/hc/en-us/articles/115011805428-Hotjar-on-Single-Page-Apps

@pkarw pkarw added the vs-hackathon Tasks for the Hackathon label May 10, 2018
@pkarw pkarw added this to the 1.8 milestone Feb 2, 2019
@pkarw pkarw closed this as completed Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Tasks that requires just basic understanding of Vue Storefront ux UX design improvements vs-hackathon Tasks for the Hackathon
Projects
None yet
Development

No branches or pull requests

4 participants