Jump to content

HubSpot form integration - Adding classes to buttons to create a popup form

Recommended Posts

Hello dear code specialista!

I got into a tricky situation as my client wants to add pop-up forms from HubSpot to Squarespace. Normal forms work fine, but to add this feature its says: ad the following classes to a button on your external website to trigger your CTA

Then there is a line to copy: hs-cta-trigger-button hs-cta-trigger-button-88209495543

Is this possible to do in Squarespace, how? Anyone has any idea of experience on this?

Thank you! 

 

Kalle

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You probably need to code the button rather than use an existing button. I would suggest copying the HTML code from inside Chrome dev console, and then adjusting it, adding that class, and putting it in a code block.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.