{"id":25328651,"url":"https://github.com/kit/next-segment","last_synced_at":"2025-06-23T09:08:28.069Z","repository":{"id":175011776,"uuid":"653127965","full_name":"Kit/next-segment","owner":"Kit","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-13T14:15:46.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-23T09:08:21.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Kit.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-13T13:06:46.000Z","updated_at":"2023-06-13T14:29:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3dc9aea-02a6-423f-813a-b21cf284d05c","html_url":"https://github.com/Kit/next-segment","commit_stats":null,"previous_names":["convertkit/next-segment","kit/next-segment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kit/next-segment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kit%2Fnext-segment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kit%2Fnext-segment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kit%2Fnext-segment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kit%2Fnext-segment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kit","download_url":"https://codeload.github.com/Kit/next-segment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kit%2Fnext-segment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261449805,"owners_count":23159807,"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":"2025-02-14T02:56:30.784Z","updated_at":"2025-06-23T09:08:23.056Z","avatar_url":"https://github.com/Kit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ConvertKit Next.js Segment setup\n\nThis is a very simple version of how we have Segment set up on our Next.js site. Almost all documentation is contained within the components.\n\n## Setup\n\n1. Copy `.env.example` to `.env.local` and fill in the values. You'll need the production and development write keys from Segment. The data team will provide these.\n2. Run `yarn install` or `npm install` to install the dependencies. It doesn't really matter which you use.\n\n## Running the app\n\n1. Run `yarn dev` or `npm run dev` to start the app. It will be available at http://localhost:3000.\n2. Make sure your cookies are cleared before checking the app, especially the `_ck_allow_cookies` cookie. This is the cookie that Segment uses to determine if a user is new or returning. If you don't clear this cookie, you'll always be a returning user.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkit%2Fnext-segment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkit%2Fnext-segment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkit%2Fnext-segment/lists"}