{"id":20313724,"url":"https://github.com/posthog/posthog-docusaurus","last_synced_at":"2025-04-11T17:16:43.517Z","repository":{"id":42726468,"uuid":"273208115","full_name":"PostHog/posthog-docusaurus","owner":"PostHog","description":"🦔 PostHog plugin for Docusaurus v2","archived":false,"fork":false,"pushed_at":"2025-03-18T08:12:43.000Z","size":250,"stargazers_count":8,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T22:43:28.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/PostHog.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":"2020-06-18T10:24:30.000Z","updated_at":"2025-03-18T08:12:47.000Z","dependencies_parsed_at":"2024-05-28T17:23:49.234Z","dependency_job_id":"c95ad0f0-1a1e-4b99-869c-952e0465b276","html_url":"https://github.com/PostHog/posthog-docusaurus","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-docusaurus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-docusaurus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-docusaurus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PostHog%2Fposthog-docusaurus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PostHog","download_url":"https://codeload.github.com/PostHog/posthog-docusaurus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248447598,"owners_count":21105140,"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-11-14T18:12:29.957Z","updated_at":"2025-04-11T17:16:43.499Z","avatar_url":"https://github.com/PostHog.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostHog plugin for Docusaurus\n\nEasily track and improve your Docusaurus site with PostHog. See [our docs on this plugin](https://posthog.com/docs/libraries/docusaurus) for more information.\n\n## Installing the plugin\n\n```bash\nnpm install posthog-docusaurus --save\n```\n\nor\n\n```bash\nyarn add posthog-docusaurus\n```\n\n## Configuring the plugin\n\n```javascript\n// docusaurus.config.js\nmodule.exports = {\n  plugins: [\n    [\n      \"posthog-docusaurus\",\n      {\n        apiKey: \"\u003cph_project_api_key\u003e\",\n        appUrl: \"\u003cph_client_api_host\u003e\", // optional, defaults to \"https://us.i.posthog.com\"\n        enableInDevelopment: false, // optional\n      },\n    ],\n  ],\n};\n```\n\n\u003e **Note:**You can pass additional PostHog [config options](/docs/libraries/js#config) to the plugin, but they are passed through `JSON.stringify()`, so functions (such as `sanitize_properties`) are not supported.\n\n## Using the plugin\n\nOnce running, this autocaptures pageviews, events, and session replay (if enabled) and enables usage of other PostHog features like surveys.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthog%2Fposthog-docusaurus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposthog%2Fposthog-docusaurus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposthog%2Fposthog-docusaurus/lists"}