Revenue attribution
Polar and Lemon Squeezy integrations
Configure provider webhooks and carry the PageDuel visitor ID into checkout.
For Polar, subscribe to order.created, subscription.created, and refund.created, and store the visitor ID as metadata.pd_visitor_id.
For Lemon Squeezy, subscribe to order_created, subscription_created, and order_refunded, and pass the visitor ID as checkout[custom][pd_visitor_id].
Copy the site-specific PageDuel webhook URL and signing secret instructions from Settings → Integrations. After a sandbox order and refund, check imported-order count and last-event time.