aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/src/templates/partials/integrations/analytics
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-01-25 17:46:34 +0800
committer苏向夜 <fu050409@163.com>2024-01-25 17:46:34 +0800
commitc4eb3ae7a74c7c6881540d7d04502600197a8b2a (patch)
treec920c29c383da4d496a0f646e5d4d0f5de10a406 /docs/src/templates/partials/integrations/analytics
parent3c3e121bc845573a2d2408c0db6be6f841fd8efc (diff)
downloadinfini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.tar.gz
infini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.zip
:fire: feat(docs): remove old documents
Diffstat (limited to 'docs/src/templates/partials/integrations/analytics')
-rw-r--r--docs/src/templates/partials/integrations/analytics/google.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/src/templates/partials/integrations/analytics/google.html b/docs/src/templates/partials/integrations/analytics/google.html
deleted file mode 100644
index 128854da..00000000
--- a/docs/src/templates/partials/integrations/analytics/google.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{#-
- This file was automatically generated - do not edit
--#}
-{% if config.extra.analytics %}
- {% set property = config.extra.analytics.property | d("", true) %}
-{% endif %}
-<script id="__analytics">function __md_analytics(){function n(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],n("js",new Date),n("config","{{ property }}"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){this.value&&n("event","search",{search_term:this.value})}),document$.subscribe(function(){var a=document.forms.feedback;if(void 0!==a)for(var e of a.querySelectorAll("[type=submit]"))e.addEventListener("click",function(e){e.preventDefault();var t=document.location.pathname,e=this.getAttribute("data-md-value");n("event","feedback",{page:t,data:e}),a.firstElementChild.disabled=!0;e=a.querySelector(".md-feedback__note [data-md-value='"+e+"']");e&&(e.hidden=!1)}),a.hidden=!1}),location$.subscribe(function(e){n("config","{{ property }}",{page_path:e.pathname})})});var e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id={{ property }}",document.getElementById("__analytics").insertAdjacentElement("afterEnd",e)}</script>