{"id":13832478,"url":"https://github.com/webmasterish/vuepress-plugin-minimal-analytics","last_synced_at":"2025-06-14T10:32:47.836Z","repository":{"id":65519674,"uuid":"162871850","full_name":"webmasterish/vuepress-plugin-minimal-analytics","owner":"webmasterish","description":"Minimal Google Analytics plugin for VuePress","archived":false,"fork":false,"pushed_at":"2019-01-22T06:16:21.000Z","size":20,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T23:09:01.783Z","etag":null,"topics":["analytics","google-analytics","plugin","vue","vuepress","vuepress-plugin"],"latest_commit_sha":null,"homepage":null,"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/webmasterish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-23T07:42:32.000Z","updated_at":"2022-03-05T04:27:32.000Z","dependencies_parsed_at":"2023-01-27T02:10:20.156Z","dependency_job_id":null,"html_url":"https://github.com/webmasterish/vuepress-plugin-minimal-analytics","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/webmasterish/vuepress-plugin-minimal-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterish%2Fvuepress-plugin-minimal-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterish%2Fvuepress-plugin-minimal-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterish%2Fvuepress-plugin-minimal-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterish%2Fvuepress-plugin-minimal-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmasterish","download_url":"https://codeload.github.com/webmasterish/vuepress-plugin-minimal-analytics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterish%2Fvuepress-plugin-minimal-analytics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259801628,"owners_count":22913484,"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":["analytics","google-analytics","plugin","vue","vuepress","vuepress-plugin"],"created_at":"2024-08-04T11:00:19.119Z","updated_at":"2025-06-14T10:32:47.812Z","avatar_url":"https://github.com/webmasterish.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Community"],"readme":"# VuePress Plugin Minimal Google Analytics\n\n\u003e Minimal Google Analytics plugin for VuePress 1.x\n\n[![Build Status](https://img.shields.io/travis/webmasterish/vuepress-plugin-minimal-analytics/master.svg?style=flat-square)](https://travis-ci.org/webmasterish/vuepress-plugin-minimal-analytics)\n[![npm version](https://img.shields.io/npm/v/vuepress-plugin-minimal-analytics.svg?style=flat-square)](http://npm.im/vuepress-plugin-minimal-analytics)\n[![Greenkeeper badge](https://badges.greenkeeper.io/webmasterish/vuepress-plugin-minimal-analytics.svg?style=flat-square)](https://greenkeeper.io/)\n[![MIT License](https://img.shields.io/npm/l/express.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n\n\n## Why\n\nBecause sometimes all you need is just the page views\nwithout all the bloated libraries.\n\n\n## What\n\nThis plugin is based on the official VuePress plugin  [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-google-analytics) - [npm](https://www.npmjs.com/package/@vuepress/plugin-google-analytics).\n\nThe difference betweeen this plugin and the official one is that it uses a light\nversion of the tracking code as introduced\nby 🌱 [minimalanalytics.com](https://minimalanalytics.com/) - source code in [this gist](https://gist.github.com/DavidKuennen/443121e692175d6fc145e1efb0284ec9).\n\n\n## Install\n\n\n```sh\n$ npm install -D vuepress-plugin-minimal-analytics\n\n# or\n\n$ yarn add -D vuepress-plugin-minimal-analytics\n```\n\n\n## Usage\n\nAdd `vuepress-plugin-minimal-analytics` in your site or theme config file.\n\n\u003e See [official docs on using a plugin](https://vuepress.vuejs.org/plugin/using-a-plugin.html)\n\n\n```js\n// .vuepress/config.js\n// or\n// .vuepress/theme/index.js\n\n// replace 'XX-XXXXXXXXX-X' with your tracking id\nmodule.exports = {\n  plugins: [\n    ['minimal-analytics', {ga: 'XX-XXXXXXXXX-X'}]\n  ]\n}\n```\n\n\n## Options\n\n\u003e See Plugin Option API [official docs](https://vuepress.vuejs.org/plugin/option-api.html)\n\n### ga\n\n- Type: `string`\n- Default: `undefined`\n\nProvide the Google Analytics ID to enable integration.\n\n\n## Reference\n\n- VuePress official [plugin docs](https://vuepress.vuejs.org/plugin/)\n- VuePress official [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-google-analytics) - [npm](https://www.npmjs.com/package/@vuepress/plugin-google-analytics)\n- Minimal Analytics Snippet [Gist](https://gist.github.com/DavidKuennen/443121e692175d6fc145e1efb0284ec9)\n  by [@DavidKuennen](https://github.com/DavidKuennen)\n- Google Analytics official [endpoint documentation](https://developers.google.com/analytics/devguides/collection/protocol/v1/reference)\n\n\n## License\n\nMIT © [webmasterish](https://webmasterish.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterish%2Fvuepress-plugin-minimal-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmasterish%2Fvuepress-plugin-minimal-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterish%2Fvuepress-plugin-minimal-analytics/lists"}