{"id":29631008,"url":"https://github.com/jop-software/astro-posthog","last_synced_at":"2026-04-18T17:36:47.520Z","repository":{"id":303460058,"uuid":"1014771739","full_name":"jop-software/astro-posthog","owner":"jop-software","description":"Astro Integration for PostHog","archived":false,"fork":false,"pushed_at":"2025-07-08T20:18:34.000Z","size":122,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-26T13:26:33.979Z","etag":null,"topics":["astro","astro-integration","integration","posthog","withastro"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/astro-posthog","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jop-software.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,"zenodo":null}},"created_at":"2025-07-06T11:40:48.000Z","updated_at":"2025-08-26T18:17:22.000Z","dependencies_parsed_at":"2025-07-07T19:20:09.302Z","dependency_job_id":"2759d380-7d0e-4b3b-a5c9-1b500cba71ed","html_url":"https://github.com/jop-software/astro-posthog","commit_stats":null,"previous_names":["jop-software/astro-posthog"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jop-software/astro-posthog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-posthog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-posthog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-posthog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-posthog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jop-software","download_url":"https://codeload.github.com/jop-software/astro-posthog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jop-software%2Fastro-posthog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31978568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["astro","astro-integration","integration","posthog","withastro"],"created_at":"2025-07-21T11:07:57.318Z","updated_at":"2026-04-18T17:36:47.503Z","avatar_url":"https://github.com/jop-software.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n    \u003ch1\u003ePosthog + Astro Integration\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003e GDRP friendly tracking in your astro app / site 🚀\n\n## Installation\n\n### Installation using the Astro CLI\n\nUsing the Astro CLI is the [recommended way](https://docs.astro.build/en/guides/integrations-guide/#automatic-integration-setup) to setup integrations in Astro.\n\n```console\n# npm\nnpx astro add astro-posthog\n\n# pnpm\npnpm dlx astro add astro-posthog\n```\n\n### Manual Installation\n\nWhen the automatic setup from Astro is not an option for you, feel free to install the package manually.\n\n```console\n# npm\nnpm install astro-posthog\n\n# pnpm\npnpm add astro-posthog\n```\n## Usage\n\n```js\nimport { defineConfig } from 'astro/config';\n\nimport posthog from \"astro-posthog\";\n\n// https://astro.build/config\nexport default defineConfig({\n\tintegrations: [\n\t\tposthog({\n\t\t\tposthogKey: 'phc_your-posthog-key',\n\t\t\tapi_host: 'https://eu.i.posthog.com',\n\t\t\tdefaults: '2025-05-24',\n\t\t\tperson_profiles: 'identified_only',\n\t\t}),\n\t]\n});\n\n```\n\n\u003cdiv align=center\u003e\u0026copy 2025-current, \u003ca href=\"https://jop-software.de\"\u003ejop-software Inh. Johannes Przymusinski\u003c/a\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjop-software%2Fastro-posthog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjop-software%2Fastro-posthog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjop-software%2Fastro-posthog/lists"}