ActionLab Analytics for Nuxt
Add privacy-first, AI-powered analytics to your Nuxt site in under 60 seconds. No cookies, no consent banners, no complex setup.
Installation Code
Nuxt
// nuxt.config.ts
export default defineNuxtConfig({
app: {
head: {
script: [
{
src: 'https://cdn.actionlabanalytics.com/actionlab.js',
'data-site': 'YOUR_SITE_ID',
defer: true,
},
],
},
},
});Step-by-Step Setup
- 1
Open your nuxt.config.ts file.
- 2
Add the ActionLab script to the app.head.script array.
- 3
Replace YOUR_SITE_ID with your actual site ID.
- 4
Nuxt client-side navigation is tracked automatically.
Why Use ActionLab with Nuxt
- Clean configuration via nuxt.config.ts
- Automatic client-side navigation tracking
- Works with Nuxt 3 and Nuxt 2
- No Nuxt module needed
Frequently Asked Questions
Does ActionLab track Nuxt page transitions?
Yes. ActionLab detects client-side route changes via the History API and tracks Nuxt page transitions as pageviews automatically.