paymentpointers.org icon indicating copy to clipboard operation
paymentpointers.org copied to clipboard

[FEATURE REQUEST] Umami event tracking

Open JoblersTune opened this issue 1 year ago • 0 comments

Feature Request

Describe the feature you'd like to request

We have basic page view and site visit tracking in place using Umami. However, we still need to implement more detailed event tracking.

Describe the solution you'd like

  • Since Starlight uses mdx pages we need a way to add link attributes.
  • We cannot do this by simply changing the links to use anchor tags since the Starlight links validator will no longer be able to validate links in that format.
  • So we either need a way to add attributes using the [link name](link href] approach (perhaps using a plugin to do this), or we need to investigate using client side event tracking instead of event attributes.

Describe alternatives you've considered

  • Plugins like remark-attr but this one doesn't seem to be maintained.
  • Using Javascript option in https://umami.is/docs/track-events

Additional context

We use Umami to track site visits on a per page basis currently.

JoblersTune avatar Dec 06 '24 12:12 JoblersTune