Joshua Kim
Growth
Share this article
Joshua Kim
Growth
Share this article

Launch Week II Day 4 introduced Custom JS functionality for growth plan customers, enabling custom integrations, analytics, and user tracking within documentation. This feature exemplifies Mintlify's philosophy of being opinionated by default while providing infinite flexibility when needed, allowing for advanced customizations like platform-specific tab auto-selection.
Day 4 of Launch Week 2 brings Custom JS to your documentation 🚀.
Available on our growth plan, Custom JS allows you to incorporate custom integrations, analytics, and much more.
Why it matters
At Mintlify, we focus on creating documentation that is opinionated when you're feeling lazy but infinitely flexible when you need it to be.
Custom JS provides further customizability for imports, introducing ways for you to include additional analytics, user tracking, and integrations with other tools and platforms.
Captions integrated Custom JS to auto-select which tab is shown based on their platform (Android, OS, Desktop). Check out their setup below!
More blog posts to read

Docs as an abstraction layer for coding agents
A large engineering org ran controlled experiments to measure how structured Mintlify docs affect agent performance on massive codebases. The results: 64% more precise, 39% more discoverable, half the tokens, 1.5x faster.
June 8, 2026Han Wang
Co-Founder

Your documentation is a demand channel
Documentation is often the highest-traffic, highest-intent surface in your entire funnel. It's the first place a buyer visits before trying your product. It's where agents surface and push your product to prospects.
June 4, 2026Lauren Volpi
Marketing