APIs & Integrations

mannyhsieh
Member

Bypassing Hubspot Forms with additional text added to URL

I was wondering if it is possible in to bypass the embeded hubspot form to show the video behind the form .

Essentially we want 1 landing page and to do 2 things. Gate and ungate. And hoping adding additional text on the URL could do it. Our hope was we could use the same landing page and we could use the same embedded video...but add a URL sting to the website URL in order to "unlock/ungate" the video.

0 Upvotes
2 Replies 2
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

Bypassing Hubspot Forms with additional text added to URL

Hey @mannyhsieh 

 

this could be very easy and no query needed!

 

Leveraging the hs cookies you can do this. 
basically wrap your form/video in and if contact function. If contact is known, show the video, else show the form. 

the set the form to redirect to the same url. 

When a user submits the form and is cookies the contact variable is available.  When the form redirects to the same page with the contact available via the hs cookie we show the video. 

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
mannyhsieh
Member

Bypassing Hubspot Forms with additional text added to URL

Thanks for the feedback! Regarding how to leverage the hs cookies and create the in and if contact function, is there some additional documentation that you could point me to – just want make sure I am grabbing the right variables?
0 Upvotes