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

Online doc pages should have analytics #738

Open
szhorvat opened this issue Nov 29, 2023 · 1 comment
Open

Online doc pages should have analytics #738

szhorvat opened this issue Nov 29, 2023 · 1 comment

Comments

@szhorvat
Copy link
Member

The online doc pages at https://python.igraph.org/ should have Google Analytics, and hooked up to the igraph Google Analytics account.

@iosonofabio, is this reasonably easy to do in such a way that analytics are only included on the website, but not in any other situations when the docs are built (e.g. for Dash, offline distribution, etc.)?

Reasoning: Relevance for grant applications. Otherwise I am not too keen on web analytics.

@ntamas
Copy link
Member

ntamas commented Nov 30, 2023

You can add a Google Analytics tracking code to the project on the Readthedocs admin area and then the online docs are generated in a way that this tracking code is added. As far as I know it won't affect docs that we generate from the command line as they do not have access to the admin area of the Readthedocs site. So this should be okay.

In fact, we already have a GA tracking code in place, but I don't know where the data is going to -- I don't see it on my GA account. I can create a new GA property with a different tracking code if you want to and then we can start using that.

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