{"id":22439534,"url":"https://github.com/oddcamp/datocms-plugin-plausible","last_synced_at":"2025-09-11T01:13:22.577Z","repository":{"id":141841915,"uuid":"452765902","full_name":"oddcamp/datocms-plugin-plausible","owner":"oddcamp","description":"Plausible integration for DatoCMS","archived":false,"fork":false,"pushed_at":"2022-02-17T11:09:55.000Z","size":749,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-04T02:52:06.135Z","etag":null,"topics":["analytics","datocms","datocms-plugin","plausible"],"latest_commit_sha":null,"homepage":"https://github.com/oddcamp/datocms-plugin-plausible","language":"TypeScript","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/oddcamp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-27T16:50:21.000Z","updated_at":"2022-02-16T06:10:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"9346f912-65cc-476a-8f38-220c987975ce","html_url":"https://github.com/oddcamp/datocms-plugin-plausible","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"45a29ef3a6b22969d783878f16df257bded23da9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/oddcamp/datocms-plugin-plausible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddcamp%2Fdatocms-plugin-plausible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddcamp%2Fdatocms-plugin-plausible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddcamp%2Fdatocms-plugin-plausible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddcamp%2Fdatocms-plugin-plausible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oddcamp","download_url":"https://codeload.github.com/oddcamp/datocms-plugin-plausible/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddcamp%2Fdatocms-plugin-plausible/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274557607,"owners_count":25307520,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["analytics","datocms","datocms-plugin","plausible"],"created_at":"2024-12-06T01:15:08.551Z","updated_at":"2025-09-11T01:13:22.552Z","avatar_url":"https://github.com/oddcamp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plausible DatoCMS Plugin\n\nDatoCMS plugin that provides a link to [Plausible](https://www.plausible.io) for the current record on the sidebar\n\n## Setup\n\n### Adding the plugin from the marketplace\n\nIn your DatoCMS project, go to Settings -\u003e Plugins -\u003e Add new (plus sign at the bottom) -\u003e From Marketplace -\u003e Search for Plausible -\u003e Install this plugin.\n\n### Adding as a private plugin\n\nIn your DatoCMS project, go to Settings -\u003e Plugins -\u003e Add new (plus sign at the bottom) -\u003e Create new plugin -\u003e Enter the following configuration:\n\n- **Plugin Name:** Plausible\n\n- **Small Description:** Provides sidebar links to Plausible\n\n- **Entry Point URL:** https://datocms-plugin-plausible.netlify.app/\n\n![Plugin Settings](./docs/plugin-settings-01.png)\n\nThen click on Save plugin settings\n\n## Plugin parameters\n\nAfter installing the plugin, in the new settings form we must enter the parameters for our Plausible project.\n\n- **Plausible Site:** The name of our site in plausible,  \n  ex: mysite.com\n\nThen for each model, we'll have the following fields:\n\n- **[DATOCMS MODEL] URL Pattern:** The pattern used to construct the Plausible URL for the specified model,  \n  ex: ?page=%2f\n\n- **[DATOCMS MODEL] Slug Field:** The field of the specified model that will be used as slug,  \n  ex: First Name\n\nThe combination of the 3 parameters will be later used by the plugin to create a link, ex:  \nhttps://plausible.io/mysite.com?page=%2fjoakim\n\n![Plugin Parameters](./docs/plugin-settings-02.png)\n\nThen click on Save Settings\n\n## Plugin\n\nAfter the setup is complete, we can navigate to content and select a record from one our models.  \nThe plugin will show up in the sidebar.\n\n![Plugin Link](./docs/plugin-link.png)\n\n## Development\n\nClone the repo -\u003e `$ yarn install` -\u003e `$ yarn start` -\u003e In your DatoCMS project, settings -\u003e plugins -\u003e Plausible -\u003e Edit private plugin -\u003e Change the Entry Point URL to http://localhost:3000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foddcamp%2Fdatocms-plugin-plausible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foddcamp%2Fdatocms-plugin-plausible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foddcamp%2Fdatocms-plugin-plausible/lists"}