Cashline

Docs

Goals

A goal is a named action you confirmed — signup, waitlist, start trial. It is not a pageview and it is not revenue.

JavaScript

cashline('goal', { name: 'signup' });
// shorthand:
cashline('signup');

Names are lowercased, spaces become underscores, max 64 characters. Allowed: letters, numbers, underscore, hyphen, colon.

HTML attribute

Clicks on an element with the attribute fire that goal once per click.

<button data-cashline-goal="signup">Create account</button>

On the board

Dashboard has a small name field. It fires a real cashline('goal') for the current visitor. The goals table lists names that collect accepted — not a preview list.

When to fire

After the server accepted the signup — thank-you page, client handler that saw ok: true. Cashline’s own waitlist and trial forms fire signup only on success.

Funnels

The default funnel is page → signup → purchase. Details: funnels. Journeys list every goal in the path: journeys.