Skip to content

Commit 0897186

Browse files
authored
Adding analytics
Update config.yaml
2 parents c70d1d4 + 3d95fef commit 0897186

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

config.yaml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,29 @@ carpentry: 'intersect'
1818
carpentry_description: 'Code Review'
1919

2020
# Overall title for pages.
21-
title: 'Code Review' # FIXME
21+
title: 'Code Review'
2222

2323
# Date the lesson was created (YYYY-MM-DD, this is empty by default)
24-
created: ~ # FIXME
24+
created: ~
2525

2626
# Comma-separated list of keywords for the lesson
2727
keywords: 'software, data, lesson, The Carpentries' # FIXME
2828

2929
# Life cycle stage of the lesson
3030
# possible values: pre-alpha, alpha, beta, stable
31-
life_cycle: 'alpha' # FIXME
31+
life_cycle: 'beta'
3232

3333
# License of the lesson
3434
license: 'CC-BY 4.0'
3535

3636
# Link to the source repository for this lesson
37-
source: 'https://github.com/INTERSECT-training/Code-Review' # FIXME
37+
source: 'https://github.com/INTERSECT-training/Code-Review'
3838

3939
# Default branch of your lesson
4040
branch: 'main'
4141

4242
# Who to contact if there are any issues
43-
contact: 'team@carpentries.org' # FIXME
43+
contact: 'icosden@princeton.edu'
4444

4545
# Navigation ------------------------------------------------
4646
#
@@ -88,4 +88,15 @@ profiles:
8888
# This space below is where custom yaml items (e.g. pinning
8989
# sandpaper and varnish versions) should live
9090

91-
varnish: intersect-training/varnish
91+
varnish: intersect-training/varnish
92+
93+
analytics: |
94+
<!-- Google tag (gtag.js) -->
95+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SRMK3EP568"></script>
96+
<script>
97+
window.dataLayer = window.dataLayer || [];
98+
function gtag(){dataLayer.push(arguments);}
99+
gtag('js', new Date());
100+
101+
gtag('config', 'G-SRMK3EP568');
102+
</script>

0 commit comments

Comments
 (0)