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 Soluciones aceptada
Jsum
Solución
Asesor destacado

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.

Ver la solución en mensaje original publicado

3 Respuestas 3
Jsum
Solución
Asesor destacado

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 Me gusta
Phil_Vallender
Miembro estimable | Partner nivel Diamond
Miembro estimable | Partner nivel Diamond

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 Me gusta