Skip to main contentAxo 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
- 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.
- Go to the menu on the top right
≡ and navigate to Settings
- Click
Sites.
- Select the site you wish to integrate.
- Set the
SPA Mode to auto for automatic detection and handling of navigation events.