Adding Mouseflow or other analytics platforms

I’m looking to add some analytics to my streamlit platform. Specifically Mouseflow.
According to their install guide, they want a script put just before the end of the body tag. Do we have this fine grained control in streamlit to add the script there?
I know there’s the st.html(…) method, but is there a way to guarantee that the script I put in the html will be immediately before the body tag’s close?

thanks!