+ Cookie-free analytics with server-side visitor identity. Bundled, never proxied. +
++ These buttons call proxy methods without checking status. Calls made before + the tracker has loaded are queued and replayed once it has. +
+const { proxy, status } = useScriptPulseAnalytics({
+ domain: 'example.com',
+ scriptOptions: {
+ trigger: 'onNuxtReady',
+ },
+})
+ // 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)
+ + {{ result }} +
+