Install guide · framework · ~2 min
npm i admaxxer, call in main.ts.
Vue 3 apps initialize once at src/main.ts. Call initAdmaxxer there before app.mount().
Add admaxxer to your project.
npm i admaxxer
Import and call initAdmaxxer before mounting the app.
src/main.ts tsimport { createApp } from 'vue';
import { initAdmaxxer } from 'admaxxer';
import App from './App.vue';
initAdmaxxer({ websiteId: 'YOUR_WEBSITE_ID', domain: 'yourdomain.com' });
createApp(App).mount('#app');
Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools).