We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e66d99 commit ee8ea2cCopy full SHA for ee8ea2c
source/_templates/thelayout.html
@@ -254,23 +254,6 @@
254
});
255
</script>
256
257
- {#- Do not conflict with RTD insertion of analytics script #}
258
- {%- if not READTHEDOCS %}
259
- {%- if theme_analytics_id %}
260
- <!-- Theme Analytics -->
261
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ theme_analytics_id }}"></script>
262
- <script>
263
- window.dataLayer = window.dataLayer || [];
264
- function gtag(){dataLayer.push(arguments);}
265
- gtag('js', new Date());
266
-
267
- gtag('config', '{{ theme_analytics_id }}', {
268
- 'anonymize_ip': {{ 'true' if theme_analytics_anonymize_ip|tobool else 'false' }},
269
- });
270
- </script>
271
272
- {%- endif %}
273
274
275
{%- block footer %} {% endblock %}
276
0 commit comments