Lead Capture Tools

Curtb2001
Participante

Acknowledge completed CTA with thank you and related content

resolver

We have partnerships with other organizations and we have some CTAs that link to actions that are completed on their website - registration for courses, conferences, webinars, etc.

I have set the redirect to open in a new window so the visitor can return to explore our website further after they complete this other registration.

I'd also like to be able to redirect them to a thank you page that also offers a few interesting content options related to the course or conference they just registered for.

1 Solução aceita
Jsum
Solução
Conselheiro(a) de destaque

Acknowledge completed CTA with thank you and related content

resolver

Hey guys,

 

Something like this might work:

<a href="#" class="yourlink">Click Here</a>

$('a.yourlink').click(function(e) {
    var href = $(this).attr("href");
    e.preventDefault();
    window.open(href);
    window.open('http://website.com');
});

This removes the default function of the link then fires window.open() twice, the first to the href value of the link and the second can go where ever. I don't know if this interferes with tracking though.

Exibir solução no post original

3 Respostas 3
Jsum
Solução
Conselheiro(a) de destaque

Acknowledge completed CTA with thank you and related content

resolver

Hey guys,

 

Something like this might work:

<a href="#" class="yourlink">Click Here</a>

$('a.yourlink').click(function(e) {
    var href = $(this).attr("href");
    e.preventDefault();
    window.open(href);
    window.open('http://website.com');
});

This removes the default function of the link then fires window.open() twice, the first to the href value of the link and the second can go where ever. I don't know if this interferes with tracking though.

Curtb2001
Participante

Acknowledge completed CTA with thank you and related content

resolver

I'll have to give that a test and see what happens.

Thanks!

0 Avaliação positiva
Phil_Vallender
Participante de valor | Parceiro Diamante
Participante de valor | Parceiro Diamante

Acknowledge completed CTA with thank you and related content

resolver

Hi @Curtb2001

 

As you've discovered, there's no way to do this natively with a HubSpot CTA, which only support one destination at a time. 

 

It may be possible to modify the CTA embed code, presumably using js, to perform both actions on click. 


Perhaps @Jsum could tell us if this is even possible?

Phil Vallender | HubSpot Website Agency
0 Avaliação positiva