Browse Product guides

CTA links and redirects

CTA links connect a campaign email, ad, or landing page button to the active promo state.

Participant reference

Use pf_ref when linking from email or another identified channel.

<a href="https://acme.plandalf.dev/p/early-bird?pf_ref={{subscriber.email}}">
  Get the launch price
</a>

The SDK also captures pf_ref from the current page URL so later checkout calls can include attribution context.

Checkout button with promo

<button
  data-plandalf-present="summit-ticket"
  data-plandalf-apply-promo="early-bird"
>
  Buy now
</button>

External destination

Some campaigns send visitors to an external sales page first, then open Plandalf checkout from that page. Keep the same pf_ref value on the URL so attribution stays connected.

<a href="https://example.com/sales-page?pf_ref={{subscriber.email}}">
  Read the offer
</a>

Feature detail