Docs add analytics (#264)

* Adding Google Analytics to the Foundry documentation

The analytics are under Rachel Clune's OSMF account and will only be used for reporting to the Rosetta Commons Board

* Add simple analytics tracking to the foundry docs

Simple analytics does not collect any personal information.
The page view information will only be used for reporting to the Rosetta board and prioritizing future work.
This commit is contained in:
Rachel Clune
2026-04-07 10:15:21 -07:00
committed by GitHub
parent 7dd7b31a0a
commit 4e3feffc12
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-6Q7T573HLF');

View File

@@ -58,4 +58,7 @@ source_suffix = {
".md": "markdown",
}
html_js_files = [
('https://scripts.simpleanalyticscdn.com/latest.js', {'async': 'async', 'defer': 'defer'}),
]
suppress_warnings = ["myst.xref_missing"]