Skip to content

Online doc pages should have analytics #738

Open

Description

@szhorvat

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.

Activity

  1. ntamas commented on Nov 30, 2023

    @ntamas
    Member

    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.

  2. stale commented on Apr 27, 2025

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions