Learn how to install the Dub Referrals Embed in your application.
dub.embedTokens.referrals
method.
POST /tokens/embed/referrals
endpoint).
POST /tokens/embed/referrals
endpoint.
publicToken
from Step 1, you can install and initialize the Dub Referrals Embed. 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.