Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add PostHog plugin #10163

Closed
wants to merge 1 commit into from
Closed

docs: Add PostHog plugin #10163

wants to merge 1 commit into from

Conversation

ivanagas
Copy link

@ivanagas ivanagas commented May 22, 2024

Pre-flight checklist

Motivation

PostHog has a plugin that makes it easy to add analytics, session replays, surveys, and more to Docusaurus. I just updated it and the docs for it.

The Google Analytics plugin is also being deprecated, meaning there will be fewer options for analytics.

Test Plan

Tested plugin locally and it is already in use.

Test links

https://docusaurus.io/docs/api/plugins

Deploy preview: https://deploy-preview-10163--docusaurus-2.netlify.app/docs/api/plugins/

Related issues/PRs

PostHog/posthog.com#8512
PostHog/posthog-docusaurus#15

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label May 22, 2024
Copy link

netlify bot commented May 22, 2024

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 8805293
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/664e2d9c5e3dd700087cb7da
😎 Deploy Preview https://deploy-preview-10163--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 67 🟢 98 🟢 96 🟢 100 🟠 88 Report
/docs/installation 🟠 53 🟢 96 🟢 100 🟢 100 🟠 88 Report
/docs/category/getting-started 🟠 75 🟢 100 🟢 100 🟢 90 🟠 88 Report
/blog 🟠 70 🟢 100 🟢 100 🟢 90 🟠 88 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 63 🟢 96 🟢 100 🟢 100 🟠 88 Report
/blog/tags/release 🟠 70 🟢 100 🟢 100 🟠 80 🟠 88 Report
/blog/tags 🟠 76 🟢 100 🟢 100 🟢 90 🟠 88 Report

@slorber
Copy link
Collaborator

slorber commented May 23, 2024

Hi @ivanagas 👋 funny to see you there.

Just realized that there's an official posthog plugin that I could use on my own newsletter website instead of a custom posthog-js integration 😅

But apparently this was already added on our community resources pages a while ago (#2957)

The docs page you modify is only for listing official first-party plugins that we build ourselves and maintain as part of this monorepo, so I'm going to close

@slorber slorber closed this May 23, 2024
@ivanagas
Copy link
Author

Ahh, missed this. Thanks!

@ivanagas ivanagas deleted the patch-1 branch May 23, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants