Pulse Analytics
Cookie-free analytics with server-side visitor identity. Bundled, never proxied.
Demo Configuration
This example uses example.com as the site domain, which Pulse does not know: requests fire but the API answers 404. Use a domain registered in your Pulse account.
Queue Before Load
Current Status:awaitingLoad
These buttons call proxy methods without checking status. Calls made before the tracker has loaded are queued and replayed once it has.
Event Log
9:21:40 AMawaitingLoadQueued on mount: proxy.track('mount_event')
9:21:40 AMawaitingLoadStatus: undefined -> awaitingLoad
Implementation
Basic Setup
const { proxy, status } = useScriptPulseAnalytics({
domain: 'example.com',
scriptOptions: {
trigger: 'onNuxtReady',
},
})Track Events
// Custom event with string properties
proxy.track('signup', { plan: 'pro' })
// Revenue goes in the third argument, not in props
proxy.track('purchase', { product: 'annual_plan' }, 99)