CMS Development

SDSouza
Member

Code for popup form to implement on website

SOLVE

I had created a popup from in Mailchimp and after changing to hubspot, I'd like to transfer my popup form to hubspot and then all the contacts/subscribers can be automatically added to our list. I was able to get a code for a normal form - but this doesn't have popup styling. Then when I tried to create a popup form from the options, it didn't give me the option to get a code. How do I publish this form on my website? 

 

Secondly, can we add header images to a popup form? 

0 Upvotes
1 Accepted solution
albertsg
Solution
Guide

Code for popup form to implement on website

SOLVE

Hi again @SDSouza. Maybe I didn't understand properly your initial question, but now that I'm reading it again, maybe it makes more sense for you to use the Hubspot Pop-up form functionality. You can find a step by step guide here: https://knowledge.hubspot.com/pop-up-forms/create-pop-up-forms 
With that you should be able to get rid of the Mailchimp script and use Hubspot's tool.



Did my answer help you? Mark it as a solution

You also connect with me on LinkedIn or Twitter

View solution in original post

4 Replies 4
albertsg
Solution
Guide

Code for popup form to implement on website

SOLVE

Hi again @SDSouza. Maybe I didn't understand properly your initial question, but now that I'm reading it again, maybe it makes more sense for you to use the Hubspot Pop-up form functionality. You can find a step by step guide here: https://knowledge.hubspot.com/pop-up-forms/create-pop-up-forms 
With that you should be able to get rid of the Mailchimp script and use Hubspot's tool.



Did my answer help you? Mark it as a solution

You also connect with me on LinkedIn or Twitter

albertsg
Guide

Code for popup form to implement on website

SOLVE

Hi @SDSouza, you can add anything you want into a modal element. If you have the HTML code for the form, you can add it to the modal element and then use Javascript to control the modal behaviour. Check the link in my previous comment to see how to implement a modal element. 



Did my answer help you? Mark it as a solution

You also connect with me on LinkedIn or Twitter

0 Upvotes
SDSouza
Member

Code for popup form to implement on website

SOLVE

The thing is I'd like to stop using MailChimp altogether and create a popup form on Hubspot. I've created a popup form on Hubspot, but I'm not sure how to get a code to integrate it onto our website. 

0 Upvotes
albertsg
Guide

Code for popup form to implement on website

SOLVE

Hi @SDSouza , I'm not sure what exactly you get from Mailchimp, but I would suggest you using a modal element in your website (and including what you get from Mailchimp there). Modal elements are "popup" elements that are tiggered after some event, usually a click.

You can find more information here: https://www.w3schools.com/howto/howto_css_modals.asp 



Did my answer help you? Mark it as a solution

You also connect with me on LinkedIn or Twitter