Skip to content

Commit ba9f7ea

Browse files
committed
feat: add plausible to htmlhint website
1 parent 4fb961a commit ba9f7ea

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

website/docusaurus.config.js

+12-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,18 @@ const config = {
1818
favicon: 'img/favicon.ico',
1919
organizationName: 'HTMLHint',
2020
projectName: PACKAGE.name,
21-
scripts: ['https://buttons.github.io/buttons.js'],
21+
scripts: [
22+
'https://buttons.github.io/buttons.js',
23+
{
24+
src: 'https://plausible.io/js/script.hash.outbound-links.pageview-props.tagged-events.js',
25+
defer: true,
26+
'data-domain': 'htmlhint.com',
27+
},
28+
{
29+
src: 'data:text/javascript,window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }',
30+
defer: true,
31+
},
32+
],
2233
presets: [
2334
[
2435
'@docusaurus/preset-classic',

0 commit comments

Comments
 (0)