mirror of
https://github.com/minio/docs.git
synced 2025-07-27 08:41:57 +03:00
Attempting to integrate Google Analytics
Including crazyegg script moving gtag script into head
This commit is contained in:
@ -1,8 +1,25 @@
|
||||
{# Import the theme's layout. #}
|
||||
{% extends "!layout.html" %}
|
||||
|
||||
|
||||
{# Custom CSS overrides #}
|
||||
|
||||
{% block extrahead %}
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-56860620-1"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-56860620-1');
|
||||
</script>
|
||||
|
||||
{{ super() }}
|
||||
|
||||
<script type="text/javascript" src="//script.crazyegg.com/pages/scripts/0088/9671.js" async="async"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{# Override content block #}
|
||||
|
||||
{%- macro miniosidebar() %}
|
||||
@ -57,6 +74,7 @@
|
||||
{%- endmacro %}
|
||||
|
||||
{%- block header %}
|
||||
|
||||
<header class="header">
|
||||
<i class="toggle-icon toggle-icon--docs" data-toggle="sidebar"></i>
|
||||
<a
|
||||
@ -108,4 +126,5 @@
|
||||
</div>
|
||||
{%- endblock %}
|
||||
|
||||
{%- block footer %}{%- endblock %}
|
||||
{%- block footer %}
|
||||
{%- endblock %}
|
Reference in New Issue
Block a user