Trigger lead flow to appear based on link/button click

Migrated from legacy feedback forum with 41 votes.

 

An example, provide a way to trigger the Leadin Popup Form to appear when a user clicks on a 'Download EBook' link in a blog post. If this is something you'd be interested in, please vote and leave a comment describing how you'd use this feature below.

HubSpot updates
36 Replies
coforge
Occasional Contributor

Can this also work for a CTA?

gamebenchjake
New Contributor

Hey @coforge ,

 

Are you asking about having the Hubspot CTA trigger the pop-up form?

coforge
Occasional Contributor

Yes is that possible?

gamebenchjake
New Contributor

@coforge 

Unfortunately it doesn't look like it - HS checks the CTA link to ensure it's a valid URL, so the Javascript won't save. 

What is your reasoning behind wanting this functionality out of curiousity?

coforge
Occasional Contributor

I came to the same conclusion. I wanted a custom image CTA to trigger the pop-up form (leadflow). It's fine I can use an image. Thanks for checking.

mike-ward
Occasional Contributor

@gamebenchjake just wanted to say thanks for sharing the JS for manually popping the form, very useful and you saved me a lot of snooping around to work it out. Very much appreciated!