Dub
Dub is an open source modern link management platform for entrepreneurs, creators, and growth teams.
This plugins allows you to track leads when a user signs up using a Dub link. It also adds OAuth linking support to allow you to build integrations extending Dub's linking management infrastructure.
Installation
Usage
Lead Tracking
By default, the plugin will track sign up events as leads. You can disable this by setting disableLeadTracking
to true
.
OAuth Linking
The plugin supports OAuth for account linking.
First, you need to setup OAuth app in Dub. Dub supports OAuth 2.0 authentication, which is recommended if you build integrations extending Dub’s functionality Learn more about OAuth.
Once you get the client ID and client secret, you can configure the plugin.
And in the client, you need to use the dubAnalyticsClient
plugin.
To link account with Dub, you need to use the dub.link
.
Options
You can pass the following options to the plugin:
dubClient
The Dub client instance.
disableLeadTracking
Disable lead tracking for sign up events.
leadEventName
Event name for sign up leads.
customLeadTrack
Custom lead track function.
oauth
Dub OAuth configuration.
oauth.clientId
Client ID for Dub OAuth.
oauth.clientSecret
Client secret for Dub OAuth.
oauth.pkce
Enable PKCE for Dub OAuth.