{"id":15726772,"url":"https://github.com/danwebb/react-static-plugin-google-analytics","last_synced_at":"2025-10-06T08:19:57.182Z","repository":{"id":57345327,"uuid":"150755195","full_name":"DanWebb/react-static-plugin-google-analytics","owner":"DanWebb","description":"A React-Static plugin that adds Google Analytics tracking","archived":false,"fork":false,"pushed_at":"2018-09-28T14:49:04.000Z","size":33,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-03T22:41:02.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanWebb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-28T14:48:44.000Z","updated_at":"2019-04-30T07:21:06.000Z","dependencies_parsed_at":"2022-08-26T06:21:59.101Z","dependency_job_id":null,"html_url":"https://github.com/DanWebb/react-static-plugin-google-analytics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanWebb%2Freact-static-plugin-google-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanWebb%2Freact-static-plugin-google-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanWebb%2Freact-static-plugin-google-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanWebb%2Freact-static-plugin-google-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanWebb","download_url":"https://codeload.github.com/DanWebb/react-static-plugin-google-analytics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221332830,"owners_count":16799524,"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-10-03T22:40:32.811Z","updated_at":"2025-10-06T08:19:52.136Z","avatar_url":"https://github.com/DanWebb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-static-plugin-google-analytics\n\nA [React-Static](https://react-static.js.org) plugin that adds [Google Analytics tracking](https://analytics.google.com/analytics/web/)\n\n## Installation\n\nIn an existing React-Static site run:\n\n```bash\n$ yarn add react-static-plugin-google-analytics\n```\n\nThen add the plugin to the default export of your `static.config.js` and specify your [Google Analytics traking ID](https://support.google.com/analytics/answer/7476135?hl=en) inside an options variable:\n\n```javascript\nexport default {\n  plugins: [\n    [\"react-static-plugin-google-analytics\", {id: 'GOOGLE ANALYTICS ID'}]\n  ]\n};\n```\n\nFor more info on React-Static plugins [see the docs](https://github.com/nozzle/react-static/blob/v6/docs/plugins.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwebb%2Freact-static-plugin-google-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanwebb%2Freact-static-plugin-google-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwebb%2Freact-static-plugin-google-analytics/lists"}