CMS Development

KevinGordon
Mitglied

Hide Forms Based on conditions

lösung

Heya! 

We have a client who has implemented HubSpot COS for their blog and gating videos. They have the same conversion form on a dozen video gated landing pages. Each video being short, maybe 5-10 minutes. Their goal is to get the person to submit conversion information for the first video they choose to watch, but not gate any subsequent content for that session. 

 

I know I can do this if I embed the form on their website and hook in to the onSubmit() function to set a custom cookie that hides the form for the duration of the session on all other pages, but I am looking to see if I can do this natively in HubSpot with either forms or workflows, or custom on-page code.

 

Has anyone else had experience with conditional gating?

 

Thanks!

0 Upvotes
1 Akzeptierte Lösung
stefen
Lösung
Autorität | Partner
Autorität | Partner

Hide Forms Based on conditions

lösung

I would suggest making a template with a smart HTML module. You can then easily add the form embed code and the video embed code and use the built-in smart rules.

Stefen Phelps, Community Champion, Kelp Web Developer

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
stefen
Lösung
Autorität | Partner
Autorität | Partner

Hide Forms Based on conditions

lösung

I would suggest making a template with a smart HTML module. You can then easily add the form embed code and the video embed code and use the built-in smart rules.

Stefen Phelps, Community Champion, Kelp Web Developer
KevinGordon
Mitglied

Hide Forms Based on conditions

lösung

Perfect! This is exactly the type of solution I was looking for.


Thank you so much Stefen!