Closed 444B closed 7 months ago
Comment by jrieke on 2021-01-10 02:42:29+00:00
Hey @oltipreka, thx for trying it out! Oh yeah it could be that this causes problems because streamlit-analytics uses session state to track widget interactions (and getting session state twice with different parameters is problematic). Could you post a short code snippet of how you use session state so I can see how to accomodate it?
Btw this is a super early prototype so please keep reporting if sth doesn't work ;)
Comment by jrieke on 2021-12-29 02:03:55+00:00
You can use Streamlit's official session state feature now, which shouldn't cause these problems. Closing.
Original issue by oltipreka on 2021-01-09 10:41:16+00:00
Hi guys, First, congratulations for the great idea of creating an analytics tool for Streamlit.
I am having an issue when using Streamlit_analytics with a Login class for single user given as an argument within get_session_state
Is there any rule where to precisely include insert .start_tracking() and .stop_tracking() within a Streamlit app?