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

Heatmap app level #9

Open
cdmoro opened this issue Dec 21, 2017 · 5 comments
Open

Heatmap app level #9

cdmoro opened this issue Dec 21, 2017 · 5 comments

Comments

@cdmoro
Copy link

cdmoro commented Dec 21, 2017

Hi! is there a way to track the entire use of an app, I have a lot of components and I want to track all of them but not separately.

Thanks!

@BrockReece
Copy link
Owner

Hi, I think you should be able to attach the directive to the template in the main.js, like this...

export default new Vue({
  el: '#app',
  template: '<App v-heatmap/>',
  components: { App },
});

@BrockReece
Copy link
Owner

I am also currently working on a scroll map, that will track the percentage of vertical views over your entire app.

@cdmoro
Copy link
Author

cdmoro commented Dec 22, 2017

Hi!
I tried your code and the only problem is the height of the canvas, it was 62...
codecanvas

@BrockReece
Copy link
Owner

I am guessing you have external content that is loading after the Vue app initiates?

@BrockReece
Copy link
Owner

I have added a PR that waits for the DOM to finish loading before building the heatmap.
Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants