444B / streamlit-analytics2

👀 Track & visualize user interactions with your streamlit app
MIT License
13 stars 2 forks source link

[FEATURE] Provide ability to "export" to various backend services #103

Open Mjboothaus opened 3 days ago

Mjboothaus commented 3 days ago

Is your feature request related to a problem? Please describe. I would like to be able to export analytics data to other backends e.g. MotherDuck

Describe the solution you'd like Make it easy for the use with documented API to access analytics data to be able to push to other backends and/or support other backends.

Describe alternatives you've considered Firestore backend already exists.

Additional context I use DuckDB for ETL of data and for analytics (which it is designed for) - MotherDuck provides a SaaS version of DuckDB which is persistent and easily shareable.

p.s. Nice work on project - I'd also like multipage app tracking support e.g. with latest st.Page() features.

444B commented 2 days ago

Hi @Mjboothaus
Thank you for this FR! I appreciate so much to know what the community wants developed I also would love to get the multi page tracking working - I think that has been one of the biggest requested features overall and has been raised in #47 I am struggling to put the time into refactoring the code and creating the other changes desired as part of our #53 release

I would love to have a config screen where you select your collection method and have it options such as Local json / firebase/ Motherduck/ SQL instance, etc Thats the dream

I will keep this FR in mind when we get around to developing alternatives For now, I will happily review and accept any PRs but I also acknowledge that what is needed to encourage more PRs would be to make the code more approachable with a refactor