Skip to content

Commit dc1fd2f

Browse files
James BrundageJames Brundage
authored andcommitted
feat: WebSocket Website ( Fixes #19 )
Fixing output directory
1 parent 1abce22 commit dc1fd2f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/_includes/GoogleAnalytics.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% if site.analyticsId %}
2+
<!-- Google tag (gtag.js) -->
3+
<script async src="https://www.googletagmanager.com/gtag/js?id={{site.analyticsId}}"></script>
4+
<script>
5+
window.dataLayer = window.dataLayer || [];
6+
function gtag(){dataLayer.push(arguments);}
7+
gtag('js', new Date());
8+
gtag('config', '{{site.analyticsId}}');
9+
</script>
10+
{% endif %}

0 commit comments

Comments
 (0)