Skip to content

Commit 7926f5d

Browse files
authored
Add analytics
Update config.yaml
2 parents f68022e + 27ac539 commit 7926f5d

2 files changed

Lines changed: 62 additions & 16 deletions

File tree

‎.gitignore‎

Lines changed: 50 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,52 @@
1-
*.pyc
2-
*~
3-
.DS_Store
4-
.ipynb_checkpoints
5-
.sass-cache
6-
.jekyll-cache/
7-
__pycache__
8-
_site
9-
.Rproj.user
1+
# sandpaper files
2+
episodes/*html
3+
site/*
4+
!site/README.md
5+
6+
# History files
107
.Rhistory
8+
.Rapp.history
9+
10+
# Session Data files
1111
.RData
12-
.bundle/
13-
.vendor/
14-
vendor/
15-
.docker-vendor/
16-
.*history
17-
.ruby-version
18-
*.lock
12+
13+
# User-specific files
14+
.Ruserdata
15+
16+
# Example code in package build process
17+
*-Ex.R
18+
19+
# Output files from R CMD build
20+
/*.tar.gz
21+
22+
# Output files from R CMD check
23+
/*.Rcheck/
24+
25+
# RStudio files
26+
.Rproj.user/
27+
28+
# produced vignettes
29+
vignettes/*.html
30+
vignettes/*.pdf
31+
32+
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
33+
.httr-oauth
34+
35+
# knitr and R markdown default cache directories
36+
*_cache/
37+
/cache/
38+
39+
# Temporary files created by R markdown
40+
*.utf8.md
41+
*.knit.md
42+
43+
# R Environment Variables
44+
.Renviron
45+
46+
# pkgdown site
47+
docs/
48+
49+
# translation temp files
50+
po/*~
51+
52+
.DS_Store

‎config.yaml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,15 @@ profiles:
7979
# sandpaper and varnish versions) should live
8080

8181
varnish: intersect-training/varnish
82+
83+
analytics: |
84+
<!-- Google tag (gtag.js) -->
85+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DKT48PL3Y1"></script>
86+
<script>
87+
window.dataLayer = window.dataLayer || [];
88+
function gtag(){dataLayer.push(arguments);}
89+
gtag('js', new Date());
90+
91+
gtag('config', 'G-DKT48PL3Y1');
92+
</script>
93+

0 commit comments

Comments
 (0)