mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Switch to GA4
This commit is contained in:
parent
f70e39ca03
commit
c808876807
@ -138,7 +138,6 @@ html_theme_options = {
|
|||||||
'show_powered_by': False,
|
'show_powered_by': False,
|
||||||
'fixed_sidebar': True,
|
'fixed_sidebar': True,
|
||||||
'sidebar_collapse': True,
|
'sidebar_collapse': True,
|
||||||
'analytics_id': 'UA-20736318-1',
|
|
||||||
'github_button': False,
|
'github_button': False,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
{%- block extrahead %}
|
{%- block extrahead %}
|
||||||
{% if not embedded %}
|
{% if not embedded %}
|
||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YMW4X5CSKP"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-YMW4X5CSKP');
|
||||||
|
</script>
|
||||||
<!-- Quantcast Choice. Consent Manager Tag v2.0 (for TCF 2.0) -->
|
<!-- Quantcast Choice. Consent Manager Tag v2.0 (for TCF 2.0) -->
|
||||||
<!-- See https://www.quantcast.com/protect/sites username is email -->
|
<!-- See https://www.quantcast.com/protect/sites username is email -->
|
||||||
<script type="text/javascript" async=true>
|
<script type="text/javascript" async=true>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user