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

Usage Analytics #12

Open
LinqLover opened this issue Mar 17, 2021 · 1 comment
Open

Usage Analytics #12

LinqLover opened this issue Mar 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@LinqLover
Copy link
Owner

As the developer of TelegramSmalltalkBot and the hoster of @SqueakSmalltalkBot, I would like to learn more about the usage of the bot. Some questions are:

  • Which/how many persons use the bot?
  • How often do they use the bot?
  • How many initial requests are made without sending a single message (i.e., the user stops using the bot after sending the /start message)?
  • What kind of expressions are sent to the bot and what domains are they about?
  • What are common bugs and limitations? For example, random samples have shown that the Transcript functionality is assumed quite often.

Some concrete approaches could be:

  • Instantiate a new session already when the /start message is sent?
  • Add a bot-wide session counter that also counts sessions that have been removed again? Unfortunately, if a user resets the session and then starts a new one, the counter would be increased twice. Would it be okay to preserve hashes of the chat IDs even if a session is reset?
  • Build a simple usage diagram (similar to the traffic chart in GitHub Insights)?
  • Log all user errors separately? Rather not, filtering seems more useful here.

The raw data can be accessed using:

(Bot instVarNamed: #sessions) values collect: [:session | (session instVarNamed: #answers) in: [:answers | answers values anyOne referenceMessage from -> (answers values collect: [:answer | answer referenceMessage mainText])]] as: Dictionary
@LinqLover LinqLover added the enhancement New feature or request label Mar 17, 2021
@LinqLover
Copy link
Owner Author

Maybe even create a simple dashboard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant