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

add plausible to frontend to track page views #415

Merged
merged 5 commits into from
May 21, 2024

Conversation

JessyBarrette
Copy link
Contributor

Related to #414 this PR add plausible to explore.cioos.ca. The views will cumulated within:

  1. With all.cioos.ca : https://plausible.server.cioospacific.ca/all.cioos.ca
  2. Explore.cioos.ca only: https://plausible.server.cioospacific.ca/explore.cioos.ca

The explore.cioos.ca has also the the outbound-link script and hash scripts. The latest may give the abiiity to track users views on the page and the different filters used which are affecting the url.

@JessyBarrette JessyBarrette requested a review from n-a-t-e April 5, 2024 18:52
@JessyBarrette
Copy link
Contributor Author

This PR successfully return page views only to the plausible instance. Further work would be needed to capture user interaction with the interface.

With that then we can count:

  • n users per days (via index.html plausible)
  • n downloads via database

@JessyBarrette JessyBarrette merged commit a48caaf into master May 21, 2024
2 checks passed
fostermh pushed a commit that referenced this pull request Oct 21, 2024
add plausible to frontend to track page views
@fostermh fostermh deleted the hotfix-add-plausible branch October 21, 2024 21:53
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

Successfully merging this pull request may close these issues.

2 participants