Smart Forms for HubSpot

Smart Forms for HubSpot can help you increase signup conversion by 17%.

You probably know, that popup forms are very effective in terms of converting your visitors to subscribers, but at the same time they can be very annoying to users that can lead to a high bounce rate.

Smart Forms provides a compromise of effective and user friendly way to increase forms conversion rate.


  • HubSpot native.
  • Built specifically for HubSpot, you can use like any other module.
  • Mobile ready
  • Slide in form, doesn’t block content
  • Timed based appearance
  • If a user closes the form – it wouldn’t show up for the next 24 hours.
  • If a user submitted the form, the popup for this specific form will never be shown again.
  • Scroll-Based (in development)
  • Exit-Intent (in development)




  1. To install Smart Forms and use it as HubSpot module you have to create a custom module first. Go to you HubSpot portal an then:

Content → Design Manager →  Custom Modules → New Custom Module

Name it as “Smart Forms”.

  1. Then to control your forms we need to add 3 text fields: Form Id,Title, Trigger Time. Make sure to use the same names.


  1. Copy this code into the module body:
<link rel="stylesheet" type="text/css" href="" />
<script charset="utf-8" type="text/javascript" src="//"></script>
<script src=""></script>
    $(document).ready( function() {
            formId: '{{widget.form_id}}',
            portalId: '{{ hub_id }}',
            title: '{{widget.title}}',
            triggerTime: '{{widget.trigger_time}}'

<img src="" class="smart_forms_logo" />

The module will look like this:


To add the module to a page

  1. Drag and drop “Smart Forms” module to any place on the page.


  1. Let’s click on edit button and configure the form.


Form Id: Id of the HubSpot form you want to embed, to get the Id, open form editor and copy id from the url, e.g.

Title: The text that will be shown as form header.

Trigger Time: Time in seconds for the form to appear.

That’s it, in our case the form will show up in 30 seconds, it will automatically disappear after form completion.

To add the module to a template

Drag and drop “HubL Template” module to any spot on the template, modify the options with the following code:

{% custom_widget "smart_forms_widget" widget_name='Smart Forms' form_id='[FORM_ID]', title='[TITLE]', trigger_time='[SECONDS]' %}