Skip to content

Conversation

cpfiffer
Copy link
Contributor

Adds PostHog analytics configuration to Fern documentation:

  • Configures PostHog analytics in fern/docs.yml with API key and endpoint
  • Updates GitHub Actions workflows to include POSTHOG_API_KEY environment variable
  • Enables tracking of documentation usage and user behavior

This is a clean re-creation after the main branch force push, containing only the analytics configuration changes.

working-directory: fern
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we the analytics in the dev unpublished docs? might just decrease our SNR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait let's just like literally remove this line and merge

working-directory: fern
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait let's just like literally remove this line and merge


analytics:
posthog:
api-key: ${POSTHOG_API_KEY}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait is it supposed to be the public key or the secret key??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants