# Promo reporting

Promo reporting connects campaign activity to checkout outcomes.

## What to inspect

-   participant reference such as `pf_ref`
-   first seen and last seen times
-   active tier when the visitor clicked
-   countdown or CTA surface
-   offer opened from the promo
-   invoice and purchase outcome

## Track participant references

Use `pf_ref` in email and campaign links.

```html
<a href="https://acme.plandalf.dev/p/black-friday?pf_ref={{subscriber.email}}">
  View the offer
</a>
```

## Observe purchase events

```js
const handle = plandalf.present("summit-ticket", {
  promo: "early-bird"
});

for await (const event of handle.events) {
  if (event.type === "purchase") {
    console.log(event.invoice_total, event.currency);
  }
}
```

## Related docs

-   [Live events](https://plandalf.com/docs/packages/sdk/interfaces/FlowEvent)
-   [CTA links and redirects](https://plandalf.com/docs/product-guides/promos/cta-links)
-   [API webhooks](https://plandalf.com/docs/api/webhooks)

Source: https://plandalf.com/docs/product-guides/promos/reporting
