Skip to content

Commit

Permalink
feat: remove analytics and provide ory consent (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszekiel authored Dec 18, 2024
1 parent 6921bac commit 0e3fecf
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 282 deletions.
8 changes: 1 addition & 7 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ const config: Config = {
},
} satisfies Preset.ThemeConfig,
plugins: [
require.resolve("./src/plugins/analytics"),
[
"docusaurus-pushfeedback",
{
Expand All @@ -237,12 +236,6 @@ const config: Config = {
},
],
"@docusaurus/plugin-content-pages",
require.resolve("./src/plugins/docusaurus-plugin-matamo"),
enableUserCentrics &&
process.env.NODE_ENV !== "development" && [
"./src/plugins/plugin-usercentrics-gtm",
{ usercentricsID: "dwogEWVkK", gtmID: "GTM-NTT7RMX" },
],
require.resolve("./src/plugins/docusaurus-polyfill"),
"@docusaurus/plugin-sitemap",
[
Expand Down Expand Up @@ -284,6 +277,7 @@ const config: Config = {
scripts: [
// Needed as a workaround for https://answers.netlify.com/t/trailing-slash-missing-on-proxied-netlify-site/36367
"/docs/scripts/redirect.js",
"https://consent.ory.sh",
{
src: "https://widget.kapa.ai/kapa-widget.bundle.js",
"data-website-id": "e89e7663-df2c-4c7f-974a-1bf8accdd615",
Expand Down
37 changes: 0 additions & 37 deletions src/plugins/analytics/analytics.js

This file was deleted.

35 changes: 0 additions & 35 deletions src/plugins/analytics/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/plugins/analytics/package.json

This file was deleted.

37 changes: 0 additions & 37 deletions src/plugins/docusaurus-plugin-matamo/analytics.js

This file was deleted.

47 changes: 0 additions & 47 deletions src/plugins/docusaurus-plugin-matamo/index.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/plugins/docusaurus-plugin-matamo/package.json

This file was deleted.

25 changes: 0 additions & 25 deletions src/plugins/plugin-usercentrics-gtm/analytics.js

This file was deleted.

72 changes: 0 additions & 72 deletions src/plugins/plugin-usercentrics-gtm/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/plugins/plugin-usercentrics-gtm/package.json

This file was deleted.

12 changes: 0 additions & 12 deletions src/static/scripts/init.js

This file was deleted.

0 comments on commit 0e3fecf

Please sign in to comment.