import streamlit as st import streamlit.components.v1 as components def ga_markdown(): # Add Google Analytics code to the header html_string = """ """ components.html(html_string) st.markdown(html_string, unsafe_allow_html=True)