jrieke / streamlit-analytics

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

streamlit-analytics does not load on deploy to share.streamlit.io #5

Closed eschares closed 3 years ago

eschares commented 3 years ago

I really like the idea for this, as logging usage stats is one thing Streamlit is sorely lacking. Adding streamlit-analytics to my app works on my local machine

import streamlit_analytics

streamlit_analytics.start_tracking()
---code---
streamlit_analytics.stop_tracking()

but when copying to GitHub and deploying, the Streamlit share crashes and does not find the module streamlit_analytics. Is there something else I need to do to tell share.streamlit.io that I'm using this package? Your Live Demo is up, so it must be possible to deploy there.

eschares commented 3 years ago

Found an incorrect dependency on my end