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

Support for analytics in configuration #199

Open
mattias-p opened this issue Apr 23, 2021 · 3 comments
Open

Support for analytics in configuration #199

mattias-p opened this issue Apr 23, 2021 · 3 comments
Milestone

Comments

@mattias-p
Copy link
Member

mattias-p commented Apr 23, 2021

It should be possible in the configuration (#219) to add a custom block of HTML near the foot of every page. This would give us an easy way to use analytics tools that don't disappear when you reinstall or upgrade Zonemaster GUI. That way we could add something like Goat Counter (a more privacy minded alternative to Google Analytics) to zonemaster.net so we can get a better picture of how it's being used.

@matsduf matsduf added this to the v2021.2 milestone Apr 23, 2021
@pamasse
Copy link
Contributor

pamasse commented Jun 2, 2021

Since the index.html page is the only html page loaded (Single Page Application), you only need to put the code once.

@mattias-p
Copy link
Member Author

Hello @pamasse! Nice to see you around :)

But index.html is overwritten when you reinstall Zonemaster GUI or upgrade it to a newer version, and then you have to update it again, right?

@pamasse
Copy link
Contributor

pamasse commented Jun 3, 2021

Yes, a technical solution will be to supercharge the starting script with a "user configuration loading script".
This script will inject the javascript and HTML code associated with the analytical solution.

Another solution could be to implement a generic solution such as https://github.com/angulartics/angulartics2, and pre-configure the library with specific metrics such as, how many people launch a test, how many read the FAQ pages, how many visitors change the language, etc. It more time expensive.

@matsduf matsduf modified the milestones: v2021.2, v2022.1 Dec 1, 2021
@matsduf matsduf modified the milestones: v2022.1, v2022.2 May 22, 2022
@matsduf matsduf modified the milestones: v2022.2, v2023.1 Dec 20, 2022
@matsduf matsduf modified the milestones: v2023.1, v2023.2 Jun 26, 2023
@matsduf matsduf modified the milestones: v2023.2, v2024.1 Mar 19, 2024
@matsduf matsduf modified the milestones: v2024.1, v2024.2 Jul 3, 2024
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

3 participants