Skip to content

Commit

Permalink
add goatcounter
Browse files Browse the repository at this point in the history
  • Loading branch information
jgieseler committed Apr 24, 2024
1 parent 5b54bac commit 8603122
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import numpy as np
from stqdm import stqdm
import streamlit as st
import streamlit.components.v1 as components
# import streamlit_analytics # TODO: un-comment when streamlit-analytics has been updated with https://github.com/jrieke/streamlit-analytics/pull/44
import streamlit_analytics2 as streamlit_analytics
from astropy.coordinates import SkyCoord
Expand Down Expand Up @@ -471,3 +472,11 @@ def get_short_url(url):
clear_url()
else:
clear_url()


# goatcounter
html_string = """
<script data-goatcounter="https://solar-mach.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
"""
components.html(html_string)

0 comments on commit 8603122

Please sign in to comment.