How to add Google Analytics or JS code in a Streamlit app?

This is done through the terminal via a python session. For me:

import os
import streamlit as st
(os.path.dirname(st.file))
‘anaconda3/envs/st65/lib/python3.7/site-packages/streamlit’ If you still need help, we can chat through LinkedIn