Skip to content

Commit

Permalink
Adding the template for google analytics (#304)
Browse files Browse the repository at this point in the history
* adding the template for google analytics

* update version (google analytics enabled)
  • Loading branch information
MeWu-IDM authored Jun 25, 2024
1 parent 4766804 commit 6c3159f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pacehrh/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: pacehrh
Title: Population-Aware Capacity Estimator for Human Resources for Health
Version: 2.0.0
Version: 2.0.1
Author: Charles Eliot, Brittany Hagedorn
Maintainer: Charles Eliot <[email protected]>
Description: This package models the healthcare needs of a given population so you
Expand Down
15 changes: 15 additions & 0 deletions pacehrh/_pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
template:
includes:
in_header: |
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NK4K647');</script>
<!-- End Google Tag Manager -->
before_body: |
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NK4K647"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

0 comments on commit 6c3159f

Please sign in to comment.