By GitBook

Plug your GitBook site to your Heap Analytics instance.



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.


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
Develop apps for your team with our GitBook Developer Platform and submit it to our directory.

Interested in building your own GitBook integrations?

Submit your idea for a team or community integration through our GitBook Developer Platform.

Amazing documentation lives on GitBook.

Inspired by how developers organize their work, GitBook is the future of documentation for high-performing teams. Get started with GitBook today.