{"id":16148706,"url":"https://github.com/deevus/analytics-plugin-posthog","last_synced_at":"2025-04-06T21:26:42.413Z","repository":{"id":217381127,"uuid":"743753600","full_name":"deevus/analytics-plugin-posthog","owner":"deevus","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-17T11:45:00.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T09:48:28.630Z","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/deevus.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":"2024-01-15T23:04:32.000Z","updated_at":"2024-01-15T23:04:58.000Z","dependencies_parsed_at":"2024-01-17T12:57:15.182Z","dependency_job_id":"8e398583-4ff7-4b1b-8ce7-fa23ccf3920c","html_url":"https://github.com/deevus/analytics-plugin-posthog","commit_stats":null,"previous_names":["deevus/analytics-plugin-posthog"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fanalytics-plugin-posthog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fanalytics-plugin-posthog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fanalytics-plugin-posthog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deevus%2Fanalytics-plugin-posthog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deevus","download_url":"https://codeload.github.com/deevus/analytics-plugin-posthog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247552835,"owners_count":20957355,"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-10T00:34:40.678Z","updated_at":"2025-04-06T21:26:42.374Z","avatar_url":"https://github.com/deevus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\ntitle: Adding PostHog to your app using open source analytics\ndescription: Connect PostHog to the analytics library\npageTitle: PostHog\n--\u003e\n\n# PostHog\n\nThis library exports the `posthog` plugin for the [`analytics`](https://www.npmjs.com/package/analytics) package \u0026 standalone methods for any project to use to make it easier to interact with [PostHog](https://www.posthog.com/).\n\nThis analytics plugin will load PostHog into your application.\n\n## Installation\n\n```bash\nnpm install analytics\nnpm install analytics-plugin-posthog\n```\n\n## How to use\n\n```typescript\nimport Analytics from \"analytics\";\nimport posthog from \"analytics-plugin-posthog\";\n\nconst analytics = Analytics({\n  app: \"awesome-app\",\n  plugins: [\n    posthog({\n      token: \"1234\", // required\n    }),\n  ],\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeevus%2Fanalytics-plugin-posthog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeevus%2Fanalytics-plugin-posthog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeevus%2Fanalytics-plugin-posthog/lists"}