Skip to content

Commit

Permalink
Install new google tag code
Browse files Browse the repository at this point in the history
  • Loading branch information
ikus060 committed Jun 15, 2022
1 parent 5e1c087 commit 4b83448
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% extends "!layout.html" %}
{% block extrahead %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q31WHWD1JS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Q31WHWD1JS');
</script>
{% endblock %}
1 change: 0 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
html_theme = 'alabaster'
# Ref: https://alabaster.readthedocs.io/en/latest/customization.html#theme-options
html_theme_options = {
'analytics_id': 'UA-19546856-5',
'description': 'Rdiffweb documentation - A web interface for rdiff-backup',
'fixed_sidebar': True,
'caption_font_family': 'Lato,Helvetica,Arial,Verdana,sans-serif',
Expand Down

0 comments on commit 4b83448

Please sign in to comment.