{"id":22217020,"url":"https://github.com/tek-works/react-google-analytics","last_synced_at":"2026-04-10T18:27:34.010Z","repository":{"id":186022485,"uuid":"674495310","full_name":"deaconn-net/react-google-analytics","owner":"deaconn-net","description":"A simple React component that allows you to insert your Google Analytics tag easily!","archived":false,"fork":false,"pushed_at":"2023-08-04T06:08:03.000Z","size":70,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-13T08:46:38.941Z","etag":null,"topics":["component","google","google-analytics","javascript","npm","package","react","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/deaconn-google-analytics","language":"TypeScript","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/deaconn-net.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,"governance":null}},"created_at":"2023-08-04T04:54:28.000Z","updated_at":"2024-08-12T18:01:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3f02461-f21c-4bb4-80a4-9435946d9d2d","html_url":"https://github.com/deaconn-net/react-google-analytics","commit_stats":null,"previous_names":["deaconn-net/react-google-analytics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deaconn-net%2Freact-google-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deaconn-net%2Freact-google-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deaconn-net%2Freact-google-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deaconn-net%2Freact-google-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deaconn-net","download_url":"https://codeload.github.com/deaconn-net/react-google-analytics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227810317,"owners_count":17823176,"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":["component","google","google-analytics","javascript","npm","package","react","typescript"],"created_at":"2024-12-02T22:14:47.059Z","updated_at":"2026-04-10T18:27:33.947Z","avatar_url":"https://github.com/deaconn-net.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Google Analytics\nA small NPM package to handle inserting scripts required for Google Analytics to send analytics via a React component.\n\n## Usage\n### Props\n* **tag** - Your analytics tag ID.\n\n```ts\nimport { GoogleAnalytics } from \"deaconn-google-analytics\"\n\n...\n\nreturn (\n    \u003chead\u003e\n        \u003cGoogleAnalytics tag=\"mytagID\" /\u003e\n    \u003c/head\u003e\n);\n\n```\n\n## Installation\nYou may install the component using the NPM package manager.\n\n```bash\nnpm install deaconn-google-analytics\n```\n\n## Credits\n* [Christian Deacon](https://github.com/gamemann)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftek-works%2Freact-google-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftek-works%2Freact-google-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftek-works%2Freact-google-analytics/lists"}