# Double Agent for SaaS

Trials from people. Everything else, labelled.

Separate real signups from signup bots and from agents doing someone’s onboarding.

## What you get

- **A clean trial funnel.** The label lands in Segment, Mixpanel, PostHog and Amplitude as a property you can filter on. See [Segment](https://doubleagent.so/docs/segment.md).
- **Fewer fake accounts.** Likely bots are challenged on signup. Guard the route on your server with requireHuman. See [@doubleagent-so/node](https://doubleagent.so/docs/server.md).
- **Safer logins.** Automated sessions get a step-up on login instead of a free pass. See [Clearance](https://doubleagent.so/docs/clearance.md).
- **Agent usage, measured.** See which agent families use your product, and how often. See [HQ](https://doubleagent.so/docs/hq.md).

## Default policy (profile `saas`)

| Action | Policy |
|---|---|
| `signup` | Challenge likely bots |
| `login` | Step-up |

Set it with `data-profile="saas"`, or leave `auto` to let the script pick it from the page.

## Where the label goes

- [Segment](https://doubleagent.so/docs/segment.md)
- [Mixpanel](https://doubleagent.so/docs/mixpanel.md)
- [PostHog](https://doubleagent.so/docs/posthog.md)
- [Amplitude](https://doubleagent.so/docs/amplitude.md)
- [HubSpot](https://doubleagent.so/docs/hubspot.md)
- [Next.js](https://doubleagent.so/docs/nextjs.md)

## Install

Paste this to your coding agent:

```text
Install Double Agent on this site with data-profile="saas". Briefing: https://doubleagent.so/install.md
```
