Skip to main content
Since Mintlify currently does not offer a native plugin integration, we embed the tracking via a small, custom script. This is done in just a few minutes.
1

Retrieve Website ID

First, you need the Website ID of your documentation from your bchic Dashboard.
  1. Open Settings (gear icon bottom left).
  2. Navigate to the Organization menu item.
  3. Open the “Linked Website URLs” area via the arrow icon.
Settings Organization DashboardNow add the URL of your documentation here (e.g., docs.your-company.com) and click on the plus symbol:Add URL to OrganizationThen click on the Installation Button (the code icon) next to the newly created URL. Copy your ID from the displayed code snippet. You can find it in the data-website-id attribute.Copy Website ID
2

Create Tracking File

Now create a new file in your documentation project. We recommend saving this in the root directory (where your docs.json is located).Name the file: bchic.jsPaste the following code into this file. Important: Replace YOUR-ID-HERE with the ID you copied in the first step.
bchic.js

Verification

Once you have pushed these changes, the script will automatically load on all pages of your documentation. You can verify the installation by visiting your docs and checking the bchic Dashboard to see if the first visitor (yourself) is being tracked.