Skip to content

Commit 199dcea

Browse files
committed
Applied GA4.
1 parent 0303cf2 commit 199dcea

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ _build/
1515
# PyCharm stuff
1616
.idea/
1717

18-
# Sphinx template
19-
docs/source/.templates/layout.html
20-
2118
# Eclipse stuff
2219
.project
2320
.pydevproject

docs/source/.templates/layout.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{% extends "!layout.html" %}
2+
3+
{% block footer %}
4+
{{ super() }}
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DYQGY4MKR3"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-DYQGY4MKR3');
13+
</script>
14+
{% endblock %}

0 commit comments

Comments
 (0)