When Transcend is configured, Transcend owns the consent banner. Mintlify’s built-in consent banner does not appear, so visitors only see one prompt.
Setup
1
Get your Transcend bundle ID
In your Transcend dashboard, go to Consent Management and copy the bundle ID for the deployment you want to use with your docs. The bundle ID appears in your Airgap script URL:
https://transcend-cdn.com/cm/<bundleId>/airgap.js.2
Add Transcend to your docs.json
Add a You can also configure Transcend from your dashboard under Analytics → Add integration → Compliance.
transcend object under integrations in your docs.json:3
Verify the banner loads
Deploy your docs and open the site. The Transcend consent banner should appear on the first visit. Accept, reject, and revoke analytics consent to confirm that analytics scripts follow the visitor’s selection.
Configuration
Custom analytics purpose
If you renamed the Analytics purpose in your Transcend instance, pass the exact purpose name so Mintlify waits for consent on the right purpose:How consent gating works
- Analytics and feedback scripts do not load until Transcend resolves the visitor’s consent for the configured purpose.
- If a visitor grants consent and later revokes it, the page reloads so already-loaded analytics scripts are torn down.
- If Transcend fails to load or a visitor never resolves the banner, analytics stay off.