mirror of
https://github.com/elyby/docs.git
synced 2025-01-10 22:02:10 +05:30
add google analytics
This commit is contained in:
parent
381b7a3051
commit
f0d7bae0a9
@ -2,4 +2,19 @@
|
|||||||
{# Import the theme's layout. #}
|
{# Import the theme's layout. #}
|
||||||
{% extends "!layout.html" %}
|
{% extends "!layout.html" %}
|
||||||
|
|
||||||
{% set css_files = css_files + ['_static/style.css'] %}
|
{% set css_files = css_files + ['_static/style.css'] %}
|
||||||
|
|
||||||
|
{% block footer %}
|
||||||
|
{{ super() }}
|
||||||
|
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-45299905-2"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'UA-45299905-2');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user