GTM Changes using Overrides
parent
277208f700
commit
34d8ebe93e
|
@ -320,6 +320,7 @@ theme:
|
||||||
logo: assets/logo.png
|
logo: assets/logo.png
|
||||||
favicon: assets/icon.webp
|
favicon: assets/icon.webp
|
||||||
name: material
|
name: material
|
||||||
|
custom_dir: overrides
|
||||||
palette:
|
palette:
|
||||||
primary: light-blue
|
primary: light-blue
|
||||||
repo_name: portainer/portainer
|
repo_name: portainer/portainer
|
||||||
|
@ -354,7 +355,7 @@ plugins:
|
||||||
extra:
|
extra:
|
||||||
analytics:
|
analytics:
|
||||||
provider: google
|
provider: google
|
||||||
property: G-PT7RWG2W49
|
property: GTM-TTJQ5VG
|
||||||
social:
|
social:
|
||||||
- icon: fontawesome/brands/twitter
|
- icon: fontawesome/brands/twitter
|
||||||
link: https://twitter.com/portainerio
|
link: https://twitter.com/portainerio
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block analytics %}
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-TTJQ5VG');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
|
{% endblock %}
|
Loading…
Reference in New Issue