From 230ae2a9e873e25ae043cbfda1e8efae1af7984f Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Tue, 2 Feb 2021 17:23:57 +0100 Subject: [PATCH] add plausible --- docs/gridsome.config.js | 6 ++++++ docs/package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/docs/gridsome.config.js b/docs/gridsome.config.js index 68ebb6f2a..4a840e9cb 100644 --- a/docs/gridsome.config.js +++ b/docs/gridsome.config.js @@ -67,6 +67,12 @@ module.exports = { domain: 'data.next.tiptap.dev', }, }, + { + use: 'gridsome-plugin-plausible-analytics', + options: { + dataDomain: 'next.tiptap.dev', + }, + }, ], runtimeCompiler: true, configureWebpack: { diff --git a/docs/package.json b/docs/package.json index c2a29ebf5..35a514a62 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,6 +16,7 @@ "d3": "^6.5.0", "globby": "^11.0.0", "gridsome": "0.7.23", + "gridsome-plugin-plausible-analytics": "^1.0.0", "gridsome-plugin-simple-analytics": "^1.1.0", "portal-vue": "^2.1.7", "raw-loader": "^4.0.2", diff --git a/yarn.lock b/yarn.lock index df92455c3..807ce1b8e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7510,6 +7510,11 @@ gray-matter@^4.0.2: section-matter "^1.0.0" strip-bom-string "^1.0.0" +gridsome-plugin-plausible-analytics@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/gridsome-plugin-plausible-analytics/-/gridsome-plugin-plausible-analytics-1.0.0.tgz#251d21334d6ac12df8967724fc55a079ffec9395" + integrity sha512-KMEQzxy3jefHH8ZDPbKttsrrEt4uSebn+saHtRkZx9pXR7DJmge0uE6+ImzsBXdpNuOvMTa6XGZVrwm00VC/QQ== + gridsome-plugin-simple-analytics@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/gridsome-plugin-simple-analytics/-/gridsome-plugin-simple-analytics-1.1.0.tgz#3ad44908ac767c603943ddc928d09e23304edee2"