Skip to content

Commit

Permalink
fix: add gtag snippet to dispatch and simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalshaikh42 committed Dec 16, 2021
1 parent 852c6b2 commit f1b6332
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
21 changes: 21 additions & 0 deletions apps/dispatch/src/index.html
Expand Up @@ -196,6 +196,27 @@
"logo": "https://static.biosimulations.org/runbiosimulations-logo/logo-github.png"
}
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-G3CVBC0V5N"
></script>

<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}

gtag('js', new Date());

// This should not be changed!! The analytics service will enable analytics only once it is consented by the user. Import the analytics module into the app.
gtag('consent', 'default', {
analytics_storage: 'denied',
advertising_storage: 'denied',
});
</script>
<meta
name="description"
content="Web application for simulating dynamical models of biological systems and visualizing their results"
Expand Down
20 changes: 20 additions & 0 deletions apps/simulators/src/index.html
Expand Up @@ -170,6 +170,26 @@
"logo": "https://static.biosimulations.org/biosimulators-logo/logo-github.png"
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-G3CVBC0V5N"
></script>

<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}

gtag('js', new Date());

// This should not be changed!! The analytics service will enable analytics only once it is consented by the user. Import the analytics module into the app.
gtag('consent', 'default', {
analytics_storage: 'denied',
advertising_storage: 'denied',
});
</script>
<meta
name="description"
content="Registry of containerized biosimulation tools with consistent command-line interfaces that enhance the reproducibility and reusability of biomodels."
Expand Down

0 comments on commit f1b6332

Please sign in to comment.