When new courses are added to src/client/_content/courses/, make these 2 changes to story.html inside each course directory:
Add this inside the <head> element:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-164050142-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-164050142-1');
</script>
Add this to
README.md
:Courses
When new courses are added to
src/client/_content/courses/
, make these 2 changes tostory.html
inside each course directory:Add this inside the
<head>
element:Add this before the closing
</body>
tag: