Short answer

Call pubpulse('event_name') wherever something happens, for example pubpulse('newsletter_signup'). Add dimensions with {props: {...}} and numbers with {metrics: {...}}. Events show in Events → Event Overview within seconds.

Send an event

<button onclick="pubpulse('newsletter_signup')">Subscribe</button>

With dimensions and metrics

pubpulse('video_play', {props: {video_id: 'abc123', position: 'top'}});
pubpulse('affiliate_click', {props: {partner: 'amazon'}, metrics: {value: 5}});
  • props are dimensions (text): split and filter reports by them.
  • metrics are numbers: they are summed and averaged in reports. Register them in Settings → Custom Metrics (Business).

Names

Use lowercase names with underscores. Event names and dimension names are limited by your plan (see pricing).

Where to see them

Events → Event Overview lists every event with count, users and sessions. Events → Page Overview shows which pages trigger them.

Try PubPulse free for 30 days

Every feature, no pageview limit, no credit card. Paste one line of code and your first visits show up within seconds.

Start your free trial

or click around the live demo first, no sign-up needed