Custom events

Track anything that matters — signups, upgrades, button clicks, form submits.

Each event takes a name and an optional props object.

window.piqo('event', 'signup', { plan: 'pro' });
window.piqo('event', 'add_to_cart', { sku: 'A123', price: 49 });
  • Event names are lowercase, snake_case by convention.
  • Up to 10 props per event. Values are stored as strings.
  • Don't pass PII — no emails, no user IDs, no full names.