Install guide · framework · ~2 min
Call initPixel() in main.ts.
Vue 3 apps initialize once at src/main.ts. Call initPixel there before app.mount().
Add @admaxxer/pixel to your project.
npm install @admaxxer/pixel
Import and call initPixel before mounting the app.
src/main.ts tsimport { createApp } from 'vue';
import { initPixel } from '@admaxxer/pixel';
import App from './App.vue';
initPixel({ websiteId: 'YOUR_WEBSITE_ID' });
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).