Form targeting and behavior
A form converts best when it reaches the right visitor at the right moment: a welcome offer for someone new, a cart reminder for someone about to leave. The Targeting tab of the form builder decides where, to whom and when a form is displayed. The Behavior tab decides how often it comes back, how it closes, and whether a teaser stays on the page.
Las guías están en inglés.
Open the panels
- Open Forms and click Edit on a form.
- In the left panel of the builder, click Targeting or Behavior.
- Change a setting. It saves to your draft straight away.
- Click Publish or Publish Changes to apply the new rules on your store.
Targeting has three sections: Where To Display, To Whom To Display and When To Display. Behavior has Teaser, Display Frequency, Dismissal and Success Page, or just Embed Code for an embedded form. If the form has an A/B test, each variant has its own targeting and behavior.
Where To Display: page and URL rules
By default a form can appear on every page of your store. Use the two checkboxes to narrow that down.
| Option | What it does |
|---|---|
| Only show on certain URLs | The form appears only on pages whose address contains one of the values you enter. |
| Don’t show on certain URLs | The form never appears on pages whose address contains one of the values you enter. |
- Enter one or more values separated by commas, with no space after the comma, for example
/collections/sale,/products. A space becomes part of the value and stops it from matching. - If you tick Only show on certain URLs and leave the box empty, the form matches no page and is not shown anywhere.
- A value matches if it appears anywhere in the page address. Matching ignores upper and lower case.
- You can use both options together. A page must then match the first list and not match the second.
- Keep values specific. A short value such as
/palso matches/pagesand/products.
To Whom To Display: visitor filters
Filters decide which visitors qualify. Click Add Form Filter, choose a filter, a condition and a value. A form built from scratch starts with one filter already set: User is Not Existing Profile, so people who are already contacts are not asked to sign up again.
| Group | Filter | Conditions | Values |
|---|---|---|---|
| User | User | is | All Users, Existing Profile, Not Existing Profile, New Visitor, Return Visitor |
| Shopify | Cart Total Price, Cart Item Count | greater than, less than, equals, not equal to, is at least, is at most | A number |
| Shopify | Cart Product | includes, doesn't include | One or more products from your catalog |
| Device | Device Type | includes, doesn't include | All, Mobile, Desktop, Tablet |
| Device | Browser | includes, doesn't include | All, Chrome, Firefox, Safari, Opera, Edge, Others |
| Device | OS | includes, doesn't include | All, Android, Windows, MacOS, Linux, iOS, Others |
| Geo | Country, State/Region | includes, doesn't include | Countries and regions found in your customers' addresses |
| UTM | UTM Source, UTM Medium, UTM Campaign | contains, doesn't contain, starts with, doesn't start with | Text you type |
The Shopify group appears only for Shopify stores.
Visitor types
| Value | Who it matches |
|---|---|
| All Users | Everyone. |
| Existing Profile | Visitors Contlo recognizes as a contact with an email address or phone number. |
| Not Existing Profile | Visitors who are not yet a contact with an email address or phone number. |
| New Visitor | Visitors who are not yet a contact and were first seen on your store within the last 24 hours. |
| Return Visitor | Visitors who are not yet a contact and were first seen more than 24 hours ago. |
Combine filters with OR and AND
- Click + OR inside a box to add an alternative. A visitor passes the box if they match any one of its filters.
- Click + AND below a box to add another box. A visitor must pass every box.
- Click the X on a filter to remove it. A box disappears when its last filter is removed. With no filters at all, every visitor qualifies.
Example: to show a free shipping offer to mobile shoppers from an Instagram or Facebook ad, create one box with UTM Source contains instagram OR UTM Source contains facebook, then click + AND and add Device Type includes Mobile.
When To Display: display triggers
Under When To Display, open Choose a condition and pick the trigger. A form has one trigger, and it is displayed automatically once the visitor also meets the To Whom To Display filters.
| Trigger | When the form opens | Extra setting |
|---|---|---|
| Show immediately on page load | As soon as the page has loaded. This is the default. | None |
| X seconds after page load | After a delay, giving the visitor time to look around. | Time in seconds |
| When user is leaving a page | When the visitor's cursor moves out of the page, toward the browser bar or another tab. | None |
| After scrolling X% of the page | When the visitor has scrolled that far down. | Percentage, 0 to 100 |
| X seconds after cart abandonment | After a visitor has added to cart and the delay passes. Shopify only. | Time in seconds |
| X seconds after viewing product | After a visitor has viewed a product and the delay passes. Shopify only. | Time in seconds |
| When clicked on 'Back In Stock' button | When a shopper clicks the back in stock button on a product page. Shopify only. | Back in stock button text |
| When user clicks on an element | When the visitor clicks an element of your site that you name, such as a "Get 10% off" link. | Add CSS element ID |
Notes on specific triggers
- Leaving a page relies on cursor movement, so plan a different trigger, such as a delay or scroll, for phone and tablet visitors.
- Cart abandonment and viewing product turn the teaser off when you select them. They pair with the Abandoned Cart and Viewed Product feeds of the product block: a form using one of those feeds must use the matching trigger or it will not publish.
- Back In Stock forms are shown on product pages only. Set Back in stock button text to the wording you want on the button, for example "Notify When Back in Stock".
- Clicks on an element: click + Add new ID and replace
#my-elementwith the ID of your element, keeping the#. Add several IDs to open the same form from several places. Use the trash icon to remove one. The Teaser section is hidden for this trigger.
Display Frequency
Frequency rules stop a form from nagging the same person. They apply to popups, flyouts and spin wheels.
| Setting | What it does |
|---|---|
| Don't show again after submit form or go to URL action | Once a visitor submits the form, or clicks a button that sends them to a URL, the form is not shown to them again. |
| Show again after N days after closing | How long the form stays away after a visitor closes it without signing up. A form built from scratch starts at 90 days. |
- Whether a visitor has closed or completed a form is remembered in their browser. Someone on a different device or browser, or who has cleared their browsing data, can see the form again.
- If the teaser is on and shown on the visitor's device, closing the form leaves the teaser on the page instead of starting the waiting period.
- To retire an offer for everyone, switch the form off on the Forms page.
Dismissal and Success Page
| Section | Setting | What it does |
|---|---|---|
| Dismissal | Desktop and Mobile switches under "Enable click outside form to close" | When on, clicking or tapping outside the form closes it. When off, visitors must use the close button or a Close Form button. Both are on for a new form. |
| Success Page | Enable Auto Dismissal with Time in seconds | Closes the form automatically that many seconds after the success step appears. |
Embed Code (embedded forms)
An embedded form is part of your page, so it has no trigger, teaser, frequency or dismissal settings. Its Behavior tab shows Embed Code instead.
- On the Behavior tab, click the copy button next to the code. You see "Embed Code Copied!".
- Paste the code into your page or theme where the form should appear.
- Publish the form. The Contlo script on your store fills the placeholder with the form.
<iframe id='contlo_embedded_iframe' style='border: none;overflow: hidden;' width='100%' height='100%' scrolling='no' src=''></iframe>The code is the same for every embedded form. Use Where To Display and To Whom To Display on the Targeting tab to control which embedded form fills the placeholder on a given page. The Contlo script must be installed on the same page: see Install web tracking.
How the rules combine
A visitor sees a form only when every one of these is true.
- The form is published and its Enabled switch is on.
- The page passes Where To Display: it matches the include list, if you set one, and does not match the exclude list.
- The visitor has not completed the form, and is not inside the waiting period after closing it.
- The visitor passes To Whom To Display: at least one filter in every box.
- The trigger under When To Display fires, or the visitor clicks the teaser.
Rules 1 to 4 are checked when the page loads. Several forms can qualify on the same page, so give forms that should not overlap different URL rules or filters. If a form has an A/B test, each visitor is assigned one variant and that variant's rules apply.
Why a form isn't showing
| Check | Details |
|---|---|
| Is it published and enabled? | Click Publish in the builder, and confirm Enabled is on in the Forms page. |
| Are you an existing contact? | The default filter hides the form from visitors Contlo already knows by email or phone. Test in a private browser window, or change the User filter. |
| Did you already close or submit it? | Frequency rules hide it in that browser. Test in a private window. |
| Do the URL rules match? | Compare your values with the page address. A space after a comma or a missing slash stops a match, and an empty Only show on certain URLs box hides the form everywhere. |
| Is the trigger one you can fire? | Leaving-a-page needs cursor movement. Cart, product and back in stock triggers are for Shopify stores, and back in stock forms show on product pages only. |
| Is a teaser set to show first? | Then the form waits for a click on the teaser. |
| Is the Contlo script on the page? | Forms load through it. See Install web tracking. |
| Is it a spin wheel? | Spin wheel forms show only while the spin wheel app is installed from the App Market. |
| "Please select the correct targeting condition!" | The form has an Abandoned Cart or Viewed Product product block. Choose the matching cart abandonment or viewing product trigger. |
Guías relacionadas
- Form builderDesign a signup form step by step: add fields, images, coupons, timers and products, style it, preview on mobile and publish.
- Forms overviewTurn store visitors into subscribers with popups, flyouts, embedded forms and spin wheels. Create, publish, measure and A/B test them.
- Install web trackingAdd the Contlo tracking snippet to a custom site, see what it records automatically, verify the install and review the cookies it sets.
- UTM trackingSet the UTM parameters Contlo adds to links in campaigns, automations and forms, using dynamic values, fixed values or your own.
- SegmentsGroup contacts by who they are and what they did, using properties, events, orders and lists, then send to them.