Skip to main content
Axo Analytics works great with mintlify, an amazing app for building ambitious documentation sites.

Steps to Integrate

  1. Create a file axoscript.js at the root of your documentation site.
  2. Paste in the content of the following javascript code:
    const axoScript = document.createElement('script');
    axoScript.src = 'https://cdn.axoanalytics.com/scripts/YOUR-SITE-ID.js';
    axoScript.defer = true;
    document.head.appendChild(axoScript);
    
    You have to replace YOUR-SITE-ID with your site identifier from the site settings.
  3. Go to the menu on the top right and navigate to Settings
  4. Click Sites.
  5. Select the site you wish to integrate.
  6. Set the SPA Mode to auto for automatic detection and handling of navigation events.