Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ js:

### Common use cases

- Integrate with [third-party platforms](/docs/integrations/overview) that Fern doesn't natively support
- Implement custom search (also requires [your Algolia credentials](/docs/customization/search))
- Insert scripts and widgets
- **Third-party integrations:** For tools not natively supported in `docs.yml`, add analytics, session recording, support widgets, or tag managers by pasting their embed snippets into your custom JS file. See [Integrating third-party tools](/learn/docs/integrations/overview#connect-other-integrations-via-custom-javascript) for supported tools and examples.
- **Custom search:** Implement custom search (also requires [your Algolia credentials](/docs/customization/search))
- **Scripts and widgets:** Insert any client-side scripts or embeddable widgets


17 changes: 15 additions & 2 deletions fern/products/docs/pages/integrations/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,21 @@ are available during the workflow run.
</Note>


## Connect other integrations
## Connect other integrations via custom JavaScript

<Markdown src="/snippets/enterprise-plan.mdx"/>

If you want to integrate with a third-party analytics or support platforms that Fern doesn't directly support, you can do so [using custom JS](/docs/customization/custom-css-js#custom-javascript).
You can integrate third-party tools that Fern doesn't natively support in `docs.yml` using [custom JavaScript](/docs/customization/custom-css-js#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`:

<CodeBlock title="docs.yml">
```yaml
js: ./custom.js
```
</CodeBlock>
Loading