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

Use Google Analytics to track individual API's usage #125

Open
newgene opened this issue Jun 22, 2023 · 0 comments
Open

Use Google Analytics to track individual API's usage #125

newgene opened this issue Jun 22, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@newgene
Copy link
Member

newgene commented Jun 22, 2023

With the new release of biothings sdk package v0.12.0, we now support the API usage tracking with the latest Google Analytics 4 (see this issue #221).

This issue is meant to adopt the new GA4 tracking feature in this repo, test the current tracking behavior and decide if any additional customization is needed for the specific tracking needs of this application.

Different from our other BioThings API applications, typically just one API per applications, this pending.api application hosts multiple BioThings APIs, each hosted under a sub-path indicating the data source name, e.g. this one: https://biothings.ncats.io/hpo. The expected behavior is to track the API usage individually under the same GA4 account, in addition to the overall tracking stats we can track already.

@newgene newgene added enhancement New feature or request help wanted Extra attention is needed labels Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants