Integration

The Heap logo

Heap

Plug your GitBook site to your Heap Analytics instance.

A example of Gitbook sites being plugged into a Heap analytics instance

Overview

This integration allows to add the Heap Analytics tracker on your published GitBook site.

How it works

The integration injects the Heap Analytics script on your page, using the configured environment ID, so that you can get analytics information from your GitBook site directly inside of Heap.

Configure

Install the integration on the GitBook space of your choice.

Locate the Heap environment ID you want to use, which is available in Heap's dashboard under "Account > Install":

* choose "Install Heap myself", then "Web" and "Code"

* locate the line showing `heap.load("some ID here")`

* copy the ID and paste it in the GitBook integration's configuration screen

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

“We can use our documentation for prospects, not just customers. Finding a certain page in Google is just way easier with GitBook.”

Roman Musatkin

,

Head of Product & Design

Swarmia

Accurate docs. Better answers.

Your docs are already feeding AI. Are users getting the right answers or the wrong ones?

Accurate docs. Better answers.

Your docs are already feeding AI. Are users getting the right answers or the wrong ones?

Accurate docs. Better answers.

Your docs are already feeding AI. Are users getting the right answers or the wrong ones?

Enterprise

Intelligent documentation that’s built to scale




FreedomPay thumbnail
FreedomPay logo - white
FreedomPay

How FreedomPay is rebuilding its integration experience with GitBook

The State of Docs Report 2026

State of Docs brings together insights from documentation experts from across the industry

FreedomPay thumbnail
FreedomPay logo - white
FreedomPay

How FreedomPay is rebuilding its integration experience with GitBook

The State of Docs Report 2026

State of Docs brings together insights from documentation experts from across the industry

FreedomPay thumbnail
FreedomPay logo - white
FreedomPay

How FreedomPay is rebuilding its integration experience with GitBook

The State of Docs Report 2026

State of Docs brings together insights from documentation experts from across the industry