{"id":23289595,"url":"https://github.com/ricomeetsworld/next-ga","last_synced_at":"2025-04-06T17:17:29.538Z","repository":{"id":118353519,"uuid":"559172563","full_name":"ricomeetsworld/next-ga","owner":"ricomeetsworld","description":"Google Analytics📊 script component for NextJs to avoid recurrent setup in every build.","archived":false,"fork":false,"pushed_at":"2022-10-29T14:38:48.000Z","size":744,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T23:18:13.711Z","etag":null,"topics":["google-analytics","google-analytics-4","next","nextjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ricomeetsworld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-29T09:32:11.000Z","updated_at":"2022-10-29T14:45:41.000Z","dependencies_parsed_at":"2023-04-03T23:32:26.555Z","dependency_job_id":null,"html_url":"https://github.com/ricomeetsworld/next-ga","commit_stats":null,"previous_names":["ricomeetsworld/next-ga"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricomeetsworld%2Fnext-ga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricomeetsworld%2Fnext-ga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricomeetsworld%2Fnext-ga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricomeetsworld%2Fnext-ga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricomeetsworld","download_url":"https://codeload.github.com/ricomeetsworld/next-ga/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517921,"owners_count":20951720,"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":["google-analytics","google-analytics-4","next","nextjs"],"created_at":"2024-12-20T04:17:01.236Z","updated_at":"2025-04-06T17:17:29.504Z","avatar_url":"https://github.com/ricomeetsworld.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nextgas - Next Google Analytics📊\n\nGoogle Analytics script component for NextJs to avoid recurrent setup in every build.\n\n**How to install**\n\n```\nnpm i nextgas\n```\n\n**How to use**\nGrab your measurement ID from the Google Analytics dashboard and plug it into NextGA's mID prop. Use in `_app.tsx` entrypoint file.\n\n```jsx\n// app.tsx\n\nimport '../styles/globals.css'\nimport type { AppProps } from 'next/app'\nimport { NextGA } from 'nextgas'\n\nfunction MyApp({ Component, pageProps }: AppProps) {\n    return (\n        \u003c\u003e\n            \u003cNextGA mId={`${process.env.NEXT_GA}`} /\u003e\n            \u003cComponent {...pageProps} /\u003e\n        \u003c/\u003e\n    )\n}\n\nexport default MyApp\n \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricomeetsworld%2Fnext-ga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricomeetsworld%2Fnext-ga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricomeetsworld%2Fnext-ga/lists"}