Skip to content

Commit

Permalink
Merge pull request #160 from jhudsl/KCox-google-analytics
Browse files Browse the repository at this point in the history
add google analytics
  • Loading branch information
KatherineCox authored May 22, 2023
2 parents d4ebba2 + 2e5cfe6 commit 03ee764
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions GA_Script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-B6QHG20WV6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-B6QHG20WV6');
</script>
1 change: 1 addition & 0 deletions _output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ bookdown::gitbook:
# When using multiple css files, the default file path will be the first one #
css: [assets/style.css, assets/AnVIL_style/anvil.css]
includes:
in_header: GA_Script.html
before_body: assets/AnVIL_style/big-image_anvil.html
after_body: assets/AnVIL_style/footer.html
highlight: tango
Expand Down
1 change: 1 addition & 0 deletions index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ _Programming skills_
Additional guides are provided to help you with Workspaces, launch interactive tools, and start working with data. Learn more about AnVIL by visiting https://anvilproject.org or reading the [article in Cell Genomics](https://www.sciencedirect.com/science/article/pii/S2666979X21001063).

Please check out our full collection of AnVIL and related resources: https://hutchdatascience.org/AnVIL_Collection/

0 comments on commit 03ee764

Please sign in to comment.