Learn how to create an embedded referral dashboard with Dub for your users to join your partner program without leaving your app.
dub.embedTokens.referrals
method.
POST /tokens/embed/referrals
endpoint).
POST /tokens/embed/referrals
endpoint.
publicToken
from Step 1, you can install and initialize the embedded referral dashboard. There are two ways to do this:
v18.2.0
or higher), you can add the iframe directly to your HTML:
referrals
type.backgroundColor
: The background color of the embed.