SmartFlow

Embed a product widget on your website with SmartFlow

Use the Website Widget action in SmartFlow to embed a product widget on your own website and present products to visitors. Follow the steps below to create the campaign, configure placement and launch it.

Use the Website Widget action in SmartFlow to embed a product widget on your own website and present products to visitors. Follow the steps below to create the campaign, configure placement and launch it.

Before you start: Choose an existing element on the page where you want to insert the product widget. 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 product widget 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 product widget content you want to display on the page.

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

4. 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?