Skip to content

Consider event tracking #1220

Description

@gracjan

At this point we are in the dark about haskell-mode usage and about which parts of haskell-mode are used and in what ways. It is hard to make decisions about priority of optimizations, feature implementation or feature removal.

Insight by automatic event tracking could help a lot knowing what features are actually used and how.

Rough plan:

  1. Use Google analytics event tracking to count how many times each function is invoked.
  2. Gather cumulative stats of usage while program is working and contact google only every couple minutes.
  3. Send also information about other modes enabled along with haskell-mode.
  4. Send also keybindings to know how people bind commands.
  5. Never send any personal data.

There is prior art because Aquamacs sends general usage info to their servers while checking for updates.

Tasks:

  1. Implement low level protocol to contact google analytics.
  2. Implement function instrumentation and activate it only in our files.
  3. See how make google analytics show useful graphs using given information.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions