Skip to main content
Axo Analytics works great with Inertia.js, a robust framework for building ambitious web applications. As Inertia.js is a Single Page Application (SPA) framework, proper configuration ensures accurate tracking of dynamic route changes without full page reloads.

Steps to Integrate

  1. Add the Axo embed code to the layout page that renders your Inertia.js app (e.g. in Laravel that’s resources/views/app.blade.php). Paste the script tag (from your site’s Install section) into the <head> section.
  2. Go to the menu on the top right and navigate to Settings
  3. Click Sites.
  4. Select the site you wish to integrate.
  5. Set the SPA Mode to auto for automatic detection and handling of navigation events.