Use new gtag options in mkdocs-material 7.1.8

pull/264/head
Eric Nemchik 4 years ago
parent 0f56243195
commit d5cedc0e1f

@ -1,16 +0,0 @@
var gtag_id = "G-ZZKM4MPQXL";
var script = document.createElement("script");
script.src = "https://www.googletagmanager.com/gtag/js?id=" + gtag_id;
document.head.appendChild(script);
location$.subscribe(function (url) {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", gtag_id);
});

@ -4,7 +4,7 @@ mkdocs-awesome-pages-plugin==2.5.0
mkdocs-git-revision-date-localized-plugin==0.9.2
mkdocs-macros-plugin==0.5.5
mkdocs-material-extensions==1.0.1
mkdocs-material==7.1.7
mkdocs-material==7.1.8
mkdocs-minify-plugin==0.4.0
mkdocs-redirects==1.0.3
mkdocs==1.2.1

@ -9,6 +9,9 @@ repo_name: TRaSH-/Guides
copyright: Copyright © 2020 TRaSH
extra:
analytics:
provider: google
property: G-ZZKM4MPQXL
manifest: manifest.webmanifest
social:
- icon: fontawesome/brands/discord
@ -19,9 +22,6 @@ extra:
extra_css:
- stylesheets/extra.css
extra_javascript:
- javascripts/extra.js
markdown_extensions:
- admonition
- attr_list

Loading…
Cancel
Save