Skip to content

Commit

Permalink
feat: add plausible to htmlhint website
Browse files Browse the repository at this point in the history
  • Loading branch information
thedaviddias committed Dec 12, 2024
1 parent 4fb961a commit ba9f7ea
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,18 @@ const config = {
favicon: 'img/favicon.ico',
organizationName: 'HTMLHint',
projectName: PACKAGE.name,
scripts: ['https://buttons.github.io/buttons.js'],
scripts: [
'https://buttons.github.io/buttons.js',
{
src: 'https://plausible.io/js/script.hash.outbound-links.pageview-props.tagged-events.js',
defer: true,
'data-domain': 'htmlhint.com',
},
{
src: 'data:text/javascript,window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }',
defer: true,
},
],
presets: [
[
'@docusaurus/preset-classic',
Expand Down

0 comments on commit ba9f7ea

Please sign in to comment.