Goals & conversions

Mark the actions that matter — a WhatsApp/phone/email/form click, a custom event, or a key page visit — as a conversion, then see the traffic sources behind each one.

Create goals from the Goals & conversions panel in your site's Settings. Goals are matched against your event stream when you view them, so a new goal instantly counts your historical events too — no waiting for new traffic.

Goal types

  • Event goal — fires on an event name (e.g. WhatsApp Click, Form Submit, or any custom event).
  • Pageview goal — fires when a visitor hits a matching path (e.g. /thank-you, or /signup/* for a prefix).
  • Revenue goal — Stripe checkout success, tracked automatically via revenue attribution.

Auto-tracked events (no code)

Piqo's tracker captures these interactions automatically — just add them as Event goals (the Goals panel has one-click buttons for each):

  • tel: link clicks → Phone Click
  • mailto: link clicks → Email Click
  • WhatsApp links (wa.me / whatsapp.com) → WhatsApp Click
  • <form> submissions → Form Submit
  • Links to another domain → Outbound Link: Click

Tag any element (no code)

To name your own event on a specific button, link, or form, add a data-piqo-event attribute. It fires on click (or submit for forms) — no JavaScript required. Extra data-piqo-* attributes become event properties.

<a href="https://wa.me/15551234567"
   data-piqo-event="WhatsApp Click"
   data-piqo-location="Header">Chat on WhatsApp</a>

<form data-piqo-event="Lead Form">…</form>

Add data-piqo-ignore to an element (or any ancestor) to skip tracking it.

Custom events in code

Fire an event from your own JavaScript whenever you need to:

window.piqo('Signup', { props: { plan: 'pro' } });

Seeing your goals

The Goals tab on the dashboard shows each goal's conversions, conversion rate, and the top traffic sources those converters came from — the same source attribution you get for Stripe revenue, for every goal.

Auto-tracked and tagged events start flowing as soon as the updated tracker snippet is live on your site. Custom window.piqo() events and pageview goals work against your existing data right away.