mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Add conditional to analytics code.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
{% if not debug %}
|
||||||
<script>
|
<script>
|
||||||
(function (i, s, o, g, r, a, m) {
|
(function (i, s, o, g, r, a, m) {
|
||||||
i['GoogleAnalyticsObject'] = r;
|
i['GoogleAnalyticsObject'] = r;
|
||||||
@@ -17,3 +18,4 @@
|
|||||||
ga('require', 'linkid', 'linkid.js');
|
ga('require', 'linkid', 'linkid.js');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user