Skip to content

Commit 6a39e08

Browse files
prisoruetinova
authored andcommitted
B OpenNebula/one#7271: removed GA (#3320)
Signed-off-by: priscill <[email protected]> (cherry picked from commit eea7d46)
1 parent 8eac691 commit 6a39e08

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

source/_templates/thelayout.html

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -244,23 +244,6 @@
244244
});
245245
</script>
246246

247-
{#- Do not conflict with RTD insertion of analytics script #}
248-
{%- if not READTHEDOCS %}
249-
{%- if theme_analytics_id %}
250-
<!-- Theme Analytics -->
251-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ theme_analytics_id }}"></script>
252-
<script>
253-
window.dataLayer = window.dataLayer || [];
254-
function gtag(){dataLayer.push(arguments);}
255-
gtag('js', new Date());
256-
257-
gtag('config', '{{ theme_analytics_id }}', {
258-
'anonymize_ip': {{ 'true' if theme_analytics_anonymize_ip|tobool else 'false' }},
259-
});
260-
</script>
261-
262-
{%- endif %}
263-
{%- endif %}
264247

265248
{%- block footer %} {% endblock %}
266249

0 commit comments

Comments
 (0)