{"id":13787048,"url":"https://github.com/andrewmcodes/bridgetown-plausible-tag","last_synced_at":"2025-05-12T00:30:42.437Z","repository":{"id":54646095,"uuid":"284180628","full_name":"andrewmcodes/bridgetown-plausible-tag","owner":"andrewmcodes","description":"PROJECT MOVED TO https://github.com/bt-rb/bridgetown-plausible","archived":true,"fork":false,"pushed_at":"2021-02-06T10:06:33.000Z","size":286,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-05T03:16:42.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/bt-rb/bridgetown-plausible","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/andrewmcodes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"github":"andrewmcodes"}},"created_at":"2020-08-01T03:45:12.000Z","updated_at":"2023-01-28T10:42:29.000Z","dependencies_parsed_at":"2022-08-13T22:40:33.099Z","dependency_job_id":null,"html_url":"https://github.com/andrewmcodes/bridgetown-plausible-tag","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fbridgetown-plausible-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fbridgetown-plausible-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fbridgetown-plausible-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcodes%2Fbridgetown-plausible-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewmcodes","download_url":"https://codeload.github.com/andrewmcodes/bridgetown-plausible-tag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253655758,"owners_count":21943068,"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-08-03T20:00:25.578Z","updated_at":"2025-05-12T00:30:41.814Z","avatar_url":"https://github.com/andrewmcodes.png","language":"Ruby","funding_links":["https://github.com/sponsors/andrewmcodes"],"categories":["Community Resources"],"sub_categories":["Plugins"],"readme":"# PROJECT MOVED TO [btrb/bridgetown-plausible](https://github.com/bt-rb/bridgetown-plausible)\n\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Usage](#usage)\n- [Demo](#demo)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\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\nThe alternative to using this plugin is just pasting your Plausible tracking script code directly into the head of your document:\n\n```html\n\u003chead\u003e\n  \u003c!-- ... --\u003e\n  \u003cscript async defer data-domain=\"yourdomain.com\" src=\"https://plausible.io/js/plausible.js\"\u003e\u003c/script\u003e\n  \u003c!-- ... --\u003e\n\u003c/head\u003e\n```\n\nBut if you use this plugin, all you need to do is define your [Plausible domain](https://docs.plausible.io/add-website) in your Bridgetown config file and paste this into your document head:\n\n```html\n\u003chead\u003e\n  \u003c!-- ... --\u003e\n  {% plausible %}\n  \u003c!-- ... --\u003e\n\u003c/head\u003e\n```\n\n## Installation\n\nIf you're running Bridgetown v0.15 or later, you can install this plugin via an automation to guide you through the configuration:\n\n```bash\nbundle exec bridgetown apply https://github.com/andrewmcodes/bridgetown-plausible-tag\n```\n\nOtherwise, you can run this command to add this plugin to your site's Gemfile:\n\n```shell\nbundle add bridgetown-plausible-tag -g bridgetown_plugins\n```\n\nor add the following to your `Gemfile`:\n\n```ruby\ngroup :bridgetown_plugins do\n  gem \"bridgetown-plausible-tag\", \"~\u003e 0.0.1\"\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```\n\n## Usage\n\nThis plugin provides the `plausible` Liquid tag to your site.\n\nUse the tag in the head of your document:\n\n```liquid\n{% plausible %}\n```\n\n[Refer to the Plausible Documentation for more information.](https://docs.plausible.io/plausible-script)\n\n## Demo\n\n[bridgetown-plausible-starter](https://github.com/andrewmcodes/bridgetown-plausible-starter)\n\nThis starter can be used to reproduce issues as well as provide an example of the plugin's usage.\n\nYou can view the live version at: [andrewmcodes.github.io/bridgetown-plausible-starter](https://andrewmcodes.github.io/bridgetown-plausible-starter/).\n\n## Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/andrewmcodes/bridgetown-plausible-tag/issues). You can also take a look at the [contributing guide](https://github.com/andrewmcodes/bridgetown-plausible-tag/blob/main/CONTRIBUTING.md).\n\n\n## License\n\nThis plugin is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcodes%2Fbridgetown-plausible-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewmcodes%2Fbridgetown-plausible-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcodes%2Fbridgetown-plausible-tag/lists"}