SmartFlow

Embed a form on your website with SmartFlow

Use the Website Widget action in SmartFlow to embed a form on your own website and collect customer details. This guide covers placement, adding contacts to a list and an optional follow-up email.

Use the Website Widget action in SmartFlow to embed a form on your own website and collect customer details. This guide covers placement, adding contacts to a list and an optional follow-up email.

Before you start: Choose an existing element on the page where you want to insert the form. You will identify it using a CSS selector: its ID or class.

The original screenshots show the Czech interface. The instructions below use English names for the corresponding controls.

1. Create a new campaign

In the campaign overview, click New campaign.

New campaign button in the campaign overview
New campaign button in the campaign overview

In the scenario library, select Empty SmartFlow.

Empty SmartFlow option in the scenario library
Empty SmartFlow option in the scenario library

2. Configure the Website Viewed trigger

Add the Website Viewed trigger to the scenario.

Adding the Website Viewed trigger to SmartFlow
Adding the Website Viewed trigger to SmartFlow

Configure the trigger as follows:

  • Audience: select All and set the display frequency to Always.
  • Target: choose the page where the form should appear.
Trigger audience, display frequency and target page settings
Trigger audience, display frequency and target page settings

The screenshot contains example values. For this procedure, use All and Always as described above.

3. Add and configure the Website Widget

After the trigger, add Website Widget from the Actions tab.

Adding the Website Widget action after the trigger
Adding the Website Widget action after the trigger

Identifier and CSS selector

Enter the selector of an existing website element in the CSS selector field. The widget will be attached to that location.

  • For an ID, start with #, for example #widget.
  • For a class, start with a dot, for example .widget.

Replace these example names with the actual ID or class of the element on your website.

Insertion method and template

Choose where to insert the content relative to the selected element using Insertion method. Under Template, click Edit widget and prepare the form you want to display on the page.

CSS selector, insertion method and Edit widget button
CSS selector, insertion method and Edit widget button

4. Add the contact to a list

After the widget, add the Add/remove from list action.

Adding the Add/remove from list action after the widget
Adding the Add/remove from list action after the widget

In the action settings, select Add and choose the list the contact should be added to.

Selecting Add and choosing the contact list
Selecting Add and choosing the contact list

5. Optionally add a follow-up email

If you want to follow up the form submission with an email, add the Send Email action after the list action. This step is optional.

Adding the optional Send Email action
Adding the optional Send Email action

Under Template, click Edit Email and prepare the message content.

Edit Email button for preparing the message
Edit Email button for preparing the message

6. Rename and launch the campaign

Give the SmartFlow a descriptive name. Once the configuration is complete, click Confirm and schedule and complete the campaign launch.

Renaming the SmartFlow and the Confirm and schedule button
Renaming the SmartFlow and the Confirm and schedule button

For more details about the trigger, see the Website Viewed guide.

Was this article helpful?