Integrate your GitBook public documentation with your Segment pipeline.
Before proceeding, make sure you have created a Segment source. You can create one from the Segment dashboard as described in their documentation. Alternatively, you can re-use an existing one if you wish to.
Take note of the Segment source's write key as it will be needed during the configuration of the integration.
Once installed and configured on a space, anytime a visitor access a page in your GitBook published content, the GitBook Segment integration will send
[GitBook] space_viewevents (read more about the event in this section) to the Segment source you've chosen.
Next, you will need to install the Segment integration in GitBook and configure it to your needs. For this, follow the steps described in these sections:
The GitBook Segment integration empowers your teams by connecting your GitBook public documentation to your Segment pipeline.
Each of your connected GitBook spaces will send a
[GitBook] space_viewevent to the associated Segment source.
[GitBook] space_viewincludes the
anonymousIdproperty. If the active user has already visited one of your other company's websites, the
anonymousIdwill match the one already set by Segment. Otherwise, GitBook will associate a new
anonymousIdfor the user matching Segment's format.