Skip to content

Commit 09bc2d8

Browse files
authored
Merge pull request #165 from crypto-matto/fix-qa
Ditch non-working QA plugin
2 parents ec1e007 + 9fe6c04 commit 09bc2d8

File tree

3 files changed

+22
-651
lines changed

3 files changed

+22
-651
lines changed

docs/.vuepress/config.js

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,26 @@ module.exports = {
176176
displayAllHeaders: true
177177
},
178178
base: "/docs/",
179+
head: [
180+
[
181+
'script',
182+
{},
183+
[
184+
`
185+
(function (w, d, s, l, i) {
186+
w[l] = w[l] || [];
187+
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
188+
var f = d.getElementsByTagName(s)[0],
189+
j = d.createElement(s),
190+
dl = l != "dataLayer" ? "&l=" + l : "";
191+
j.async = true;
192+
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
193+
f.parentNode.insertBefore(j, f);
194+
})(window, document, "script", "dataLayer", "GTM-PSV99SS");
195+
`,
196+
],
197+
],
198+
],
179199
plugins: [
180200
[
181201
"vuepress-plugin-export",
@@ -219,12 +239,6 @@ module.exports = {
219239
return ordering[a["title"]] - ordering[b["title"]];
220240
}
221241
}
222-
],
223-
[
224-
'@vuepress/plugin-google-analytics',
225-
{
226-
'ga': 'G-K3JV1CQR70'
227-
}
228242
]
229243
]
230244
};

0 commit comments

Comments
 (0)