IliaLarchenko commited on
Commit
7b958ab
1 Parent(s): b5654c8

added google analytics pixel

Browse files
Files changed (1) hide show
  1. src/app.py +5 -0
src/app.py CHANGED
@@ -91,6 +91,11 @@ def main():
91
  st.code(str(transform))
92
  show_credentials()
93
 
 
 
 
 
 
94
 
95
  if __name__ == "__main__":
96
  main()
 
91
  st.code(str(transform))
92
  show_credentials()
93
 
94
+ # adding google analytics pixel
95
+ # only when deployed online. don't collect statistics of local usage
96
+ if 'GA' in os.environ:
97
+ st.image(os.environ['GA'])
98
+
99
 
100
  if __name__ == "__main__":
101
  main()