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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surface shortlink usage metrics using commodity metrics tools #8

Open
patcon opened this issue Mar 22, 2021 · 1 comment
Open

Surface shortlink usage metrics using commodity metrics tools #8

patcon opened this issue Mar 22, 2021 · 1 comment

Comments

@patcon
Copy link
Contributor

patcon commented Mar 22, 2021

Some 馃攳 facts / 鉂わ笍 feelings / 馃挕 ideas about this:

  • 鉂わ笍 I feel proud of our custom shortlink tool, and don't wish to use any other.
  • 馃攳 Clients/collaborators have expressed enthusiasm for our shortlink tool/practices.
  • 鉂わ笍 I feel eager to share our shortlink tool/practices with others at some point.
  • 鉂わ笍 I feel curious to have insight into which of own links are being relied upon, like we'd have with hosted shortlink services (e.g., Rebrandly).
  • 鉂わ笍 I feel that such metrics would increase the value of offering this tool to others, as it validates it's being used.
  • 馃攳 Google Analytics has a "Universal Event" feature that allows collecting metrics on arbitrary events (e.g., clicks, redirects, any server/client event, etc.)
  • 鉂わ笍 I prefer to avoid Google products for Hypha stuff.
  • 鉂わ笍 I feel willing to use GA for a quick live test, and migrate to self-hosted analytics later.
  • 馃挕 We could use GA events to get metrics about shortlink usage with a small amount of code/effort.
  • 馃挕 We could set a deadline after which GA must be either removed or moved to a more value-aligned metrics tool.

Thoughts?

@patcon patcon changed the title Track pass-through event metrics for shortlink usage Surface shortlink usage metrics using commodity metrics tools Mar 22, 2021
@YurkoWasHere
Copy link
Member

YurkoWasHere commented Nov 12, 2021

Log parser could do the work without client side tracking
cat /var/log/nginx/link.hypha.coop_access.log | awk '{print $7}' | sort | uniq -c

      6 /
      1 /2020-09-30-operations.html
      1 /2021-02-25-business-planning.html
      1 /2021-03-11-business-planning.html
      3 /calendar
      1 /calls
      1 /compost-newsletter
      2 /crm
      1 /cron
      1 /drive
      1 /email?lang=lv
      1 /favicon.ico
      1 /handbook
      1 /holidays.html
      1 /hyphacoop/configurations/branches
      4 /invoices
      1 /meetcoop
      1 /newfeelingcoop
      1 /ontario-coop-requirements.md
      1 /payroll
      1 /projection
      1 /reimbursement
      6 /robots.txt
      1 /shortlinks
      1 /standup-template
      1 /tasks
      1 /wordpress/

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