Opening 2 links with one hyperlink or button

I am looking use either a hyperlink or button to open 2 links at once.
I am wanting to open a google drive link that downloads my lead magnet and also redirect them to the next step in the funnel.
Is this possible?
Or is there a much simpler way that I am missing?
I am using Funnelish builder not Clickfunnels.
Any help is appreciated :slight_smile:
Thanks

1 Like

Sorry for the wait @SATIN_SZN .

You can do this:

  1. Set the click action of your button or link to “#next-step” you can select it in the click action popup.

  2. Then using JavaScript you can trigger a code to open the google drive file in a new browser tab. Something like this code would do the job:

<script>
document.querySelectorAll('[href="#next-step"]').forEach(btn => {
    btn.addEventListener('click', ev=>{
        window.open('{YOUR GOOGLE DRIVE URL HERE}', '_blank')
    })
})
</script>

the code above will only work if you are using #next-step, if you have another action the code must be modified

  1. Add the code above into your Page Custom Codes > Body JS box.

That’s it.