Analytics and integrations
Fern’s built-in web analytics reports aggregated site usage without configuration. The integrations on this page connect your documentation to external analytics, session recording, support, and developer tools. Fern forwards a set of analytics events to the providers you configure.
Supported providers
Analytics
Session recording and support
Developer tools
Configure providers
Define your provider configuration in docs.yml. Include only the providers you want to connect.
Environment variables
If your docs configuration is public, don’t add secret values directly to docs.yml.
Instead, reference an environment variable by using the syntax ${VARIABLE_NAME}.
If you use GitHub Workflows to trigger docs generation, the environment variables must be available during the workflow run.
Connect other integrations via custom JavaScript
Enterprise feature
This feature is available only for the Enterprise plan. To get started, reach out to support@buildwithfern.com.
You can integrate third-party tools that Fern doesn’t natively support in docs.yml using custom JavaScript, as long as they support HTML tag-based installation. This works with tools like:
- Analytics: Amplitude, Heap, Plausible
- Session recording: Hotjar, LogRocket, Microsoft Clarity
- Support and chat: Zendesk, Crisp, Drift
- Tag managers: Adobe Launch, Tealium
Paste the vendor’s <script> snippet into a custom JS file and reference it in your docs.yml: