# Double Agent for E-commerce

Shoppers, scrapers and shopping agents.

Know which carts are human, which are scrapers and which are agents buying for someone.

## What you get

- **Honest conversion rates.** Every session carries a label in GA4 and Shopify, so conversion rate is measured on people. See [Shopify](https://doubleagent.so/docs/shopify.md).
- **Ad spend on humans.** Bot purchases are held back from Meta, TikTok and Google Ads. Campaigns stop optimising for scrapers. See [Meta Pixel](https://doubleagent.so/docs/meta.md).
- **Agents can still buy.** Agents at checkout are tagged, not blocked. Orders get a tag you can filter. See [Shopify](https://doubleagent.so/docs/shopify.md).
- **Promo abuse, slowed.** Likely bots are rate-limited on add to cart and promo codes. See [Clearance](https://doubleagent.so/docs/clearance.md).

## Default policy (profile `ecommerce`)

| Action | Policy |
|---|---|
| `add_to_cart` | Rate-limit likely bots |
| `promo` | Rate-limit likely bots |
| `checkout` | Tag agents |

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

## Where the label goes

- [Shopify](https://doubleagent.so/docs/shopify.md)
- [GA4](https://doubleagent.so/docs/ga4.md)
- [Meta Pixel](https://doubleagent.so/docs/meta.md)
- [Klaviyo](https://doubleagent.so/docs/klaviyo.md)
- [Stripe](https://doubleagent.so/docs/stripe.md)

## Install

Paste this to your coding agent:

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