# Open external link in new tab after a delay

**URL:** <https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903>\
**Category:** Responsiveness\
**Created:** [February 7, 2025, 7:53pm UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903 "2025-02-07T19:53:37Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstlouis6595](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mstlouis6595](https://forum.bubble.io/u/mstlouis6595)\
**Post date:** [February 7, 2025, 7:53pm UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/1 "2025-02-07T19:53:37Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [February 7, 2025, 10:39pm UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/2 "2025-02-07T22:39:24Z")

</div>

Have you tried scheduling a custom event?

---

<div class="post-metadata">

**Author:** ![moon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/moon/32/242414_2.png) [@moon](https://forum.bubble.io/u/moon)\
**Post date:** [February 8, 2025, 1:01am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/3 "2025-02-08T01:01:31Z")

</div>

@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

---

<div class="post-metadata">

**Author:** ![mstlouis6595](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mstlouis6595](https://forum.bubble.io/u/mstlouis6595)\
**Post date:** [February 8, 2025, 2:55am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/4 "2025-02-08T02:55:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![moon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/moon/32/242414_2.png) [@moon](https://forum.bubble.io/u/moon)\
**Post date:** [February 8, 2025, 2:58am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/5 "2025-02-08T02:58:36Z")

</div>

![this works](https://us1.discourse-cdn.com/bubble/original/3X/6/7/6728757a47edb81dd9cfc7fa18eca6a1ab1a0557.png)

---

<div class="post-metadata">

**Author:** ![mstlouis6595](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mstlouis6595](https://forum.bubble.io/u/mstlouis6595)\
**Post date:** [February 8, 2025, 3:21am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/6 "2025-02-08T03:21:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![moon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/moon/32/242414_2.png) [@moon](https://forum.bubble.io/u/moon)\
**Post date:** [February 8, 2025, 3:37am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/7 "2025-02-08T03:37:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![moon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/moon/32/242414_2.png) [@moon](https://forum.bubble.io/u/moon)\
**Post date:** [February 8, 2025, 3:39am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/8 "2025-02-08T03:39:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mstlouis6595](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mstlouis6595](https://forum.bubble.io/u/mstlouis6595)\
**Post date:** [February 8, 2025, 4:15am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/9 "2025-02-08T04:15:15Z")

</div>

![IMG_2986](https://us1.discourse-cdn.com/bubble/original/3X/b/b/bbd095de8208eddceac3ad14ba989e18d2176a88.jpeg)  
 ![IMG_2987](https://us1.discourse-cdn.com/bubble/original/3X/8/5/85cbd61c1a07dd02717b9295fa48d9da8bfed1d6.jpeg)  
Here is my current setup, I also previously tested your setup with the same issue.

---

<div class="post-metadata">

**Author:** ![moon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/moon/32/242414_2.png) [@moon](https://forum.bubble.io/u/moon)\
**Post date:** [February 8, 2025, 4:16am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/10 "2025-02-08T04:16:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![moon](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/moon/32/242414_2.png) [@moon](https://forum.bubble.io/u/moon)\
**Post date:** [February 8, 2025, 4:24am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/11 "2025-02-08T04:24:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![akamarski](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@akamarski](https://forum.bubble.io/u/akamarski)\
**Post date:** [February 8, 2025, 6:06am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/12 "2025-02-08T06:06:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mstlouis6595](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mstlouis6595](https://forum.bubble.io/u/mstlouis6595)\
**Post date:** [March 17, 2025, 2:52am UTC](https://forum.bubble.io/t/open-external-link-in-new-tab-after-a-delay/358903/13 "2025-03-17T02:52:49Z")

</div>

Thanks I’ll give this a shot!
