Open external link in new tab after a delay

I am building functionality where a user clicks a button to learn more, this will bring the user to an external page on an affiliate website. I want to display a popup before sending the user so they know where they are being sent easily.

Ideally I want my popup to open and say you’re going to XYZ website to learn more, have a 3 second delay, then open the link in a new tab.

But, when I add any delay before opening the link it won’t actually go. I know I could skip the popup completely and it works fine. But checking, does anyone have any good workarounds for this?

1 Like

Have you tried scheduling a custom event?

1 Like

@adamhholmes appraoch should work pretty well, i would additionally consider to make the popup an reusable elemnt if you require to do that action more often on that page

I did try that and unfortunately the same thing is happening because it has a delay and not a direct button click to open an external link.

I can have it open in the same window no problem after the delay though. Just when I want to open it in a new tab. My understanding is it’s due to popup blockers.

Does your setup open external website in a new tab? Mine works on my desktop but no other devices.

Yes, it showed the popup for three seconds then opened a new tab, in this case google

one second = 1000

cus it’s in milliseconds

You need to search for the action open external website, you are probably using go to page or something? If it still doesn’t work please share a screenshot of your workflow



Here is my current setup, I also previously tested your setup with the same issue.

use one workflow, disable debug mode, hide popup before opening external page, use the add pause action, open external page use open in new tab

if this still doesn’t work try an do when condition for when pop is visible, set it to every or just once what you prefer

->add pause/schedule custom event-> open external page

just show the popup on button click

Add custom state to the popup with type number
When you open the popup set the state to whatever number, for example 5
Add do while true workflow to decrease the number every 1 second -1. The last step of the do while true is go go to external site when the number is 0 and hide the popup in the same workflow.
You can also show the number inside the popup referencing the state

1 Like

Thanks I’ll give this a shot!