Hide Forms Based on conditions

SOLVE
Highlighted
New Contributor

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!

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Advisor

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
Web Developer / Co-founder
Kelp Creative Agency
Twitter — @stefen
2 Replies 2
Advisor

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
Web Developer / Co-founder
Kelp Creative Agency
Twitter — @stefen
New Contributor

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


Thank you so much Stefen!