CampusMadridProjects / directory-frontend

Campus Directory Frontend: A Progressive Web App made with VueJS.
MIT License
8 stars 0 forks source link

Analytics #4

Closed CodingCarlos closed 6 years ago

CodingCarlos commented 6 years ago

Add Google Analytics and set events to track. Is there something ready to plug-and-play in vue?

Research needed ^^

carlosazaustre commented 6 years ago

I used some similar in AngularJS time ago. I could help in that part :) To track views, clicks, etc...

CodingCarlos commented 6 years ago

Check if we shall or not uncheck the user tracking in analytics.

musikame commented 6 years ago

User tracking/ID is currently off by default

CodingCarlos commented 6 years ago

As we're advancing so fast, and mr Aza is on his free time, I'm starting with this issue in branch add-analytics.

In the technical part, I'm going with vue-analytics package, that seems to be very strong, and with a lot of documentation and community.

In a more "theoircal" way, I'll be tracking page views (directly as the router does), and also events. To keep the events well organized, I've done a speadsheet with the events to track, the properties in analytics, the reasons to track it and the current status: https://docs.google.com/spreadsheets/d/1eDe6EK6a1pOnB22vRTmYKeBo8n_qVmaIvnRbLXrE464/edit?usp=sharing

If there's something I'm missing, feel free to comment it here, or add it to the sheet (I think all colaborators have permissions to do it)