{"id":13292147,"url":"https://github.com/bt-rb/bridgetown-plausible","last_synced_at":"2025-07-13T16:39:41.551Z","repository":{"id":45311177,"uuid":"336502943","full_name":"bt-rb/bridgetown-plausible","owner":"bt-rb","description":"Plausible Analytics Bridgetown Plugin","archived":false,"fork":false,"pushed_at":"2022-10-11T22:42:42.000Z","size":29,"stargazers_count":11,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-10T06:36:56.659Z","etag":null,"topics":["bridgetown","bridgetown-automation","bridgetown-plugin","bridgetown-tag","erb","liquid"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/bt-rb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"github":"andrewmcodes"}},"created_at":"2021-02-06T09:40:33.000Z","updated_at":"2024-07-02T18:11:28.000Z","dependencies_parsed_at":"2022-09-17T04:21:36.325Z","dependency_job_id":null,"html_url":"https://github.com/bt-rb/bridgetown-plausible","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-rb%2Fbridgetown-plausible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-rb%2Fbridgetown-plausible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-rb%2Fbridgetown-plausible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bt-rb%2Fbridgetown-plausible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bt-rb","download_url":"https://codeload.github.com/bt-rb/bridgetown-plausible/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790995,"owners_count":20348385,"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":["bridgetown","bridgetown-automation","bridgetown-plugin","bridgetown-tag","erb","liquid"],"created_at":"2024-07-29T17:07:22.061Z","updated_at":"2025-03-15T21:17:06.541Z","avatar_url":"https://github.com/bt-rb.png","language":"Ruby","funding_links":["https://github.com/sponsors/andrewmcodes"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/bt-rb\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg src=\"https://github.com/bt-rb/bridgetown-plausible/blob/main/.github/media/logo.svg\" width=\"100px\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://badge.fury.io/rb/bridgetown-plausible\"\u003e\u003cimg src=\"https://badge.fury.io/rb/bridgetown-plausible.svg\" alt=\"Gem Version\" height=\"18\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/bt-rb/.github\"\u003e\n  \u003cimg src=\"https://github.com/bt-rb/bridgetown-plausible/workflows/Test/badge.svg\" alt=\"test\"\u003e\n  \u003cimg src=\"https://github.com/bt-rb/bridgetown-plausible/workflows/Lint/badge.svg\" alt=\"lint\"\u003e\n  \u003cimg src=\"https://github.com/bt-rb/bridgetown-plausible/workflows/Release/badge.svg\" alt=\"release\"\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003ebridgetown-plausible\u003c/h2\u003e\n\n[Plausible](https://plausible.io) is a lightweight and open-source website analytics tool. It doesn’t use cookies and is fully compliant with GDPR, CCPA and PECR. This plugin is meant to remove all friction from adding your [Plausible Analytics tracking script code](https://docs.plausible.io/plausible-script) to your Bridgetown site.\n\n## Table of contents\n\n- [Table of contents](#table-of-contents)\n- [Quickstart](#quickstart)\n- [System requirements](#system-requirements)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Usage](#usage)\n  - [Liquid](#liquid)\n  - [ERB](#erb)\n- [Changelog](#changelog)\n- [Contribution](#contribution)\n- [License](#license)\n\n## Quickstart\n\nUse the automation to add to your site:\n\n```sh\nbundle exec bridgetown apply https://github.com/bt-rb/bridgetown-plausible\n```\n\n## System requirements\n\n- Ruby \u003e= `2.5`\n- Bundler\n- Bridgetown \u003e= `0.16`\n\n## Installation\n\nAutomatically add to `Gemfile`:\n\n```bash\nbundle add bridgetown-plausible -g bridgetown_plugins\n```\n\nor add manually in `Gemfile`:\n\n```ruby\ngroup :bridgetown_plugins do\n  gem \"bridgetown-plausible\", \"~\u003e 1.1.0\"\nend\n```\n\nRun `bundle install` and then modify your `bridgetown.config.yml` configuration to point to your Plausible domain.\n\n## Configuration\n\n```yml\n# bridgetown.config.yml\n\nplausible:\n  # Your Plausible domain.\n  # Note that this domain should not include www or https://\n  #\n  # Type: String\n  # Required: true\n  domain: example.com\n  # Your Plausible instance domain.\n  # Only set this if you are self-hosting Plausible on your own domain.\n  # Requires https.\n  #\n  # Type: String\n  # Required: false\n  # Default: \"plausible.io\"\n  server: selfhosted-plausible.com\n```\n\n## Usage\n\nThis plugin provides the `plausible` Liquid tag \u0026 ERB helper to your site. If `BRIDGETOWN_ENV` is not `production`, than the tag will be wrapped in an HTML comment to prevent console erros in development. Make sure you set `BRIDGETOWN_ENV=\"production\"` when you deploy in your script or in Netlify/Vercel/etc.\n\nUse the tag in the head of your document:\n\n### Liquid\n\n```liquid\n{% plausible %}\n```\n\n### ERB\n\n```erb\n\u003c%= plausible %\u003e\n```\n\n## Changelog\n\nDetailed changes for each release are documented in the [release notes](https://github.com/bt-rb/bridgetown-plausible/releases).\n\n## Contribution\n\nPlease make sure to read the [Contributing Guide](.github/CONTRIBUTING.md) before making a pull request.\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n\nCopyright (c) 2021-present, Andrew Mason\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbt-rb%2Fbridgetown-plausible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbt-rb%2Fbridgetown-plausible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbt-rb%2Fbridgetown-plausible/lists"}