Custom CTA
In the Custom CTA state, the CTA button displays text provided by the developer and optionally opens a custom URL specified by the developer.
The <OneTap />
component accepts a prop named cta
.
Property
Description
cta
Optional. { url: string, text: string }
text: Custom CTA button text. url: Custom CTA url (optional).
User Experience
After signing in successfully, a custom CTA button will appear. When you click this button, the cta.url
will open in a new tab.
Last updated
Was this helpful?