{"id":20121154,"url":"https://github.com/its-devtastic/strapi-plugin-plausible","last_synced_at":"2025-07-16T04:36:40.588Z","repository":{"id":38345961,"uuid":"460497689","full_name":"its-devtastic/strapi-plugin-plausible","owner":"its-devtastic","description":"📈 Plugin for adding Plausible analytics to Strapi","archived":false,"fork":false,"pushed_at":"2024-04-18T07:25:35.000Z","size":1043,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T05:45:42.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/its-devtastic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-17T15:38:43.000Z","updated_at":"2025-04-27T09:40:27.000Z","dependencies_parsed_at":"2023-01-30T06:16:55.337Z","dependency_job_id":null,"html_url":"https://github.com/its-devtastic/strapi-plugin-plausible","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/its-devtastic/strapi-plugin-plausible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-devtastic%2Fstrapi-plugin-plausible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-devtastic%2Fstrapi-plugin-plausible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-devtastic%2Fstrapi-plugin-plausible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-devtastic%2Fstrapi-plugin-plausible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/its-devtastic","download_url":"https://codeload.github.com/its-devtastic/strapi-plugin-plausible/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/its-devtastic%2Fstrapi-plugin-plausible/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265481916,"owners_count":23773973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T19:26:15.999Z","updated_at":"2025-07-16T04:36:40.558Z","avatar_url":"https://github.com/its-devtastic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" width=\"150px\"\u003e\n  \u003cimg style=\"width: 150px; height: auto;\" src=\"public/assets/logo.png\" alt=\"Logo - Strapi Plausible plugin\" /\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eStrapi v4 - Plausible plugin\u003c/h1\u003e\n  \u003cp\u003eAdd your Plausible analytics dashboard to Strapi\u003c/p\u003e\n  \u003ca href=\"https://www.npmjs.org/package/strapi-plugin-plausible\"\u003e\n    \u003cimg alt=\"GitHub package.json version\" src=\"https://img.shields.io/github/package-json/v/its-devtastic/strapi-plugin-plausible?label=npm\u0026logo=npm\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/strapi-plugin-plausible\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/strapi-plugin-plausible.svg\" alt=\"Monthly download on NPM\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n---\n\nA plugin for [Strapi](https://github.com/strapi/strapi) that embeds [Plausible](https://plausible.io) analytics dashboards.\n\n## Supported Strapi version\n\nCurrently only Strapi v4 is supported.\n\n## Installation\n\nWith `npm`\n```bash\nnpm install strapi-plugin-plausible\n```\n\nWith `yarn`\n```bash\nyarn add strapi-plugin-plausible\n```\n\nIn the `config/plugins.js` file add:\n\n```js\nmodule.exports = ({ env }) =\u003e ({\n  // ...other plugins\n  plausible: {\n    config: {\n      sharedLink: env(\"PLAUSIBLE_SHARED_LINK\")\n    }\n  }\n})\n```\n\nYou can create a shared link in Plausible by going to _Site settings › Visibility_.\nIt looks something like this:\n\n```text\nhttps://plausible.io/share/example.com?auth=abc123\n```\n\n☝️ Make sure not to enable password protection for this link\n\n☝️ If you're using the `strapi::security` middleware with CSP enabled, make sure\nto allow `plausible.io` as a `frame-src`. Your `config/middlewares.js` should look something like:\n\n```js\n {\n    name: \"strapi::security\",\n    config: {\n      contentSecurityPolicy: {\n        useDefaults: true,\n        directives: {\n          \"frame-src\": [\"https://plausible.io\"],\n        ...\n```\n\n## Support\n\nFor Strapi documentation, please go to [the official Strapi documentation](https://strapi.io/documentation/).\n\nFor questions and issues with this plugin use one of the following channels:\n\n- [GitHub](https://github.com/its-devtastic/strapi-plugin-plausible/issues) (Bug reports, Contributions, Questions and Discussions)\n- [E-mail](mailto:hi@devtastic.co) - We'll respond as soon as possible\n\n## 📝 License\n\n[MIT License](LICENSE.md) \n\nMade in Utrecht by [Devtastic](https://devtastic.build/) 👨‍💻🌱🇪🇺.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-devtastic%2Fstrapi-plugin-plausible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-devtastic%2Fstrapi-plugin-plausible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-devtastic%2Fstrapi-plugin-plausible/lists"}