We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e7320 commit bbdb75eCopy full SHA for bbdb75e
_output.yml
@@ -1,5 +1,7 @@
1
bookdown::gitbook:
2
split_by: rmd
3
+ includes:
4
+ in_header: [ga_script.html]
5
config:
6
toc:
7
collapse: section
ga_script.html
@@ -0,0 +1,10 @@
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-142542392-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
8
+ gtag('config', 'UA-142542392-1');
9
+</script>
10
0 commit comments