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

Success Dashboard #14

Open
3 tasks
tpendragon opened this issue May 7, 2024 · 4 comments
Open
3 tasks

Success Dashboard #14

tpendragon opened this issue May 7, 2024 · 4 comments
Assignees

Comments

@tpendragon
Copy link
Contributor

tpendragon commented May 7, 2024

Acceptance Criteria

  • There's a page I go to and I can select a date range, and see the values over time (each day in that date range) for the below metrics within that date range. Also totals at the bottom.

Tips

Maybe ask AUX if they have a way they'd want this to happen. Some tableau thingy?

If AUX doesn't have strong opinions, then we'll put it in Figgy as a report page.

There's a plausible API key in lastpass.

First Step

Read the Plausible API documentation.

Success Criteria

  • I can easily look at a single place (or quickly gather) the values I need for these metrics:
    • Views per Visit
    • Visit Duration
    • Downloads
      • We want all downloads of Figgy resources, and be able to filter where people are getting to those downloads from. Generally we want downloads to come up.
    • Number of record pages in a visit
    • Number of sources visits are coming from
    • Bounce Rate
    • Feedback from reference survey
  • Document how to view that place and the metrics they're meant to measure:
    • Number of downloads over a time period goes up.
      • We want all downloads of Figgy resources, and be able to filter where people are getting to those downloads from. Generally we want downloads to come up.
    • Number of clicks in a session goes up.
    • Number of sessions greater than 1 minute goes up.
    • Users link our data out to other sites and platforms; blogs, IIIF story builders
    • Bounce Rate
    • Reference / area librarians or curators (sorry don’t know all the titles) hear that someone used a resource, or help them find a resource they say will be useful.
@tpendragon
Copy link
Contributor Author

This is blocked until we are able to get all those values and know the time spans we want those values for.

@tpendragon tpendragon transferred this issue from pulibrary/figgy May 8, 2024
@tpendragon tpendragon changed the title Find a way to look at the change in the metrics we care about over time and document it Success Dashboard Jun 20, 2024
@tpendragon
Copy link
Contributor Author

Kate & Hector have some tips about this, I'm meeting w/ them next week.

@sdellis
Copy link
Member

sdellis commented Jul 3, 2024

@tpendragon the Plausible API allows us to aggregate our stats for a custom date range, but it does not return values per day, only in aggregate. In order to meet the success criteria of this ticket, we would need to make a separate API call for each day in the given range. With this approach, a single report for a two year range would exceed our allotted requests for an hour. Another approach that @AminEdZare suggested might be a workaround is to do a daily pull of the Plausible data from the API, store it in the database, and then run our own custom queries for the report that would avoid the rate limit. Thoughts?

See below:

API keys have a rate limit of 600 requests per hour by default. If you have special needs for more requests, please contact us to request more capacity.

@tpendragon
Copy link
Contributor Author

Average for the time period is probably fine for now? I don't want to maintain a sidecar.

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

No branches or pull requests

3 participants