We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50db359 commit db3379aCopy full SHA for db3379a
1 file changed
Verso.py
@@ -7,6 +7,20 @@
7
import difflib
8
import streamlit.components.v1 as components
9
10
+# --- 🛰️ GOOGLE ANALYTICS INTEGRATION ---
11
+def inject_ga():
12
+ ga_id = "G-030XWBG97P"
13
+ ga_code = f"""
14
+ <script async src="https://www.googletagmanager.com/gtag/js?id={ga_id}"></script>
15
+ <script>
16
+ window.dataLayer = window.dataLayer || [];
17
+ function gtag(){{dataLayer.push(arguments);}}
18
+ gtag('js', new Date());
19
+ gtag('config', '{ga_id}', {{ 'debug_mode': true }});
20
+ </script>
21
+ """
22
+ components.html(ga_code, height=0)
23
+
24
# --- 🛠️ ACADEMIC ENGINE SETUP ---
25
@st.cache_resource
26
def setup_system():
0 commit comments