mirror of
https://github.com/RosettaCommons/foundry.git
synced 2026-06-04 13:24:22 +08:00
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:
5
docs/source/_static/ga.js
Normal file
5
docs/source/_static/ga.js
Normal file
@@ -0,0 +1,5 @@
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-6Q7T573HLF');
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user