dubinc / dub

Open-source link management infrastructure. Loved by modern marketing teams like Vercel, Raycast, and Perplexity.
https://dub.co
GNU Affero General Public License v3.0
18.52k stars 2k forks source link

Interim Redirect Screens #526

Closed rustyzone closed 3 weeks ago

rustyzone commented 9 months ago

New feature: Link Interstitials

Allow links to be able to show an interstitial page before redirecting


Example Use Case: YouTube creators to be able to shorten links used in video descriptions with an interstitial which can display a message and action e.g signup to newsletter. - They gain insights into # clicks as expected but can also then gain email signups.

Imagine the link below when seen in a video description, once visited a cookie is created so the next time a user clicks one of these links they don't have to wait again (ensure interstitial is not shown every time) if the user clicks to subscribe (or clicks anywhere on the page) the auto redirect timer is cancelled & can then manually click the button to go to the link (with better integrations to email sub widgets the timer could then begin again after subscribing / go straight to the link after complete etc..)

Example: https://linkat.co/rz/hero-patterns

Been testing this out on my own channel and seeing a decent uplift in email subs since testing a very rough version of this.

linear[bot] commented 9 months ago

ENG-125 Link Interstitials

abass commented 9 months ago

LOVE love love this—YESSSSSS!

steven-tey commented 8 months ago

Inspo: "Require email to view link"

CleanShot 2024-01-28 at 13 51 29

Could potentially build an integration with @resend for this too

versecafe commented 8 months ago

@rustyzone to do the countdown but still display a custom sign up site would that require allowing x-frame on your sites CSP, or is the sign up supposed to be part of the dub redirect, or is the user required to implement the countdown and redirect for their own site?

image
rustyzone commented 8 months ago

@rustyzone to do the countdown but still display a custom sign up site would that require allowing x-frame on your sites CSP, or is the sign up supposed to be part of the dub redirect, or is the user required to implement the countdown and redirect for their own site?

image

My preference would be for this to be part of the redirect (hosted by dub) then also works nicely with a resend integration /Dub hosted email list i that could allow users to easily export emails and import to a newsletter provider etc..

Keeping the implementation requirements for the user as minimal as possible. Just enable email required before redirect and easy export.

versecafe commented 8 months ago

@rustyzone something like this?

image
versecafe commented 8 months ago

The custom title and description would become new fields when making the link whereas the text on the poster would pull from existing OG data

rustyzone commented 8 months ago

That could work nicely! Also do like the idea of that description showing as some type of message bubble but depending on the context might not always work. Would be useful to give some context around where the email will be used

versecafe commented 8 months ago

That could work nicely! Also do like the idea of that description showing as some type of message bubble but depending on the context might not always work. Would be useful to give some context around where the email will be used

I think by rebalancing the description block to hold more text it should give room for you to put in why your email is being used and for what, and adding the consent box should help with compliance over storing user data.

image