# Goals

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

```js
cashline('goal', { name: 'signup' });
cashline('signup');
```

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

Names are lowercased, spaces become underscores, max 64 characters. Fire after the server accepted the signup. The default funnel is page → signup → purchase.
