Popup display rules: show the right popup to the right visitor

Popup display rules: show the right popup to the right visitor

Claspo shows a popup based on visitor behavior, traffic source, the visitor’s cart and your site’s own data: dataLayer events, JavaScript variables, cookies and local storage.

Claspo Audience & Triggering panel: display frequency, when to display, when to stop, annoyance safeguard, audience, pages and locations

Behavior triggers

Behavior triggers

Show a popup when the visitor is ready

Show a popup when the visitor is ready

Claspo When to display settings: time on page and exit intent switched on with When all conditions are met
  • Time on page

    Time on page

    Shows the popup after a visitor has spent a set time on one page, in seconds, minutes or hours. Use it when someone is reading one product or article closely. Setup guide

    Shows the popup after a visitor has spent a set time on one page, in seconds, minutes or hours. Use it when someone is reading one product or article closely. Setup guide

  • Time on site

    Time on site

    Adds up time across all pages: 37 seconds on one page and 13 on the next make 50. Use it for sitewide offers and seasonal promos. Setup guide

    Adds up time across all pages: 37 seconds on one page and 13 on the next make 50. Use it for sitewide offers and seasonal promos. Setup guide

  • Scroll depth

    Scroll depth

    Fires once a visitor has scrolled a set share of the page, on desktop and mobile. Setup guide

    Fires once a visitor has scrolled a set share of the page, on desktop and mobile. Setup guide

  • Pages viewed

    Pages viewed

    Waits until a visitor has opened a set number of pages, so only people who are exploring see the offer. Setup guide

    Waits until a visitor has opened a set number of pages, so only people who are exploring see the offer. Setup guide

  • Inactivity

    Inactivity

    Fires when a visitor stops scrolling, clicking, typing or tapping for the time you set, or switches to another tab. Setup guide

    Fires when a visitor stops scrolling, clicking, typing or tapping for the time you set, or switches to another tab. Setup guide

  • Exit intent

    Exit intent

    On desktop it fires when the cursor heads for the tab bar or the close button; on mobile, on a quick upward scroll. One toggle covers both, and exit-intent templates come with it switched on. Setup guide

    On desktop it fires when the cursor heads for the tab bar or the close button; on mobile, on a quick upward scroll. One toggle covers both, and exit-intent templates come with it switched on. Setup guide

  • Element click

    Element click

    Opens the popup when someone clicks an element that matches a CSS selector, such as a “Subscribe” button in your header. Setup guide

    Opens the popup when someone clicks an element that matches a CSS selector, such as a “Subscribe” button in your header. Setup guide

  • Launcher click

    Launcher click

    A small floating button in a corner of the screen opens the popup when the visitor clicks it. Setup guide

    A small floating button in a corner of the screen opens the popup when the visitor clicks it. Setup guide

Audience

Audience

Choose who sees the popup

Choose who sees the popup

  • New or returning visitors

    New or returning visitors

    Claspo looks for earlier Claspo visits, a Shopify or WooCommerce login, a click from an email, SMS or push campaign, and Google Analytics history. A visitor can count as returning even if they last came before you installed Claspo. Setup guide

    Claspo looks for earlier Claspo visits, a Shopify or WooCommerce login, a click from an email, SMS or push campaign, and Google Analytics history. A visitor can count as returning even if they last came before you installed Claspo. Setup guide

  • Geo targeting

    Geo targeting

    Show or hide a popup by country, region or city, based on the visitor’s IP address. Country is the most precise level. Setup guide

    Show or hide a popup by country, region or city, based on the visitor’s IP address. Country is the most precise level. Setup guide

  • Device

    Device

    Desktop only, mobile only or both. Tablets, iPads included, count as desktop. Setup guide

    Desktop only, mobile only or both. Tablets, iPads included, count as desktop. Setup guide

  • Hide from existing subscribers

    Hide from existing subscribers

    One toggle hides the popup from people you already have: past Claspo sign-ups, Shopify logins, utm_medium values such as email or sms, and signals from Klaviyo, Mailchimp, Omnisend, HubSpot and other tools. You don’t connect those tools for this. Setup guide

    One toggle hides the popup from people you already have: past Claspo sign-ups, Shopify logins, utm_medium values such as email or sms, and signals from Klaviyo, Mailchimp, Omnisend, HubSpot and other tools. You don’t connect those tools for this. Setup guide

Traffic source and pages

Traffic source and pages

Match the popup to the campaign and the page

Match the popup to the campaign and the page

  • UTM parameters

    UTM parameters

    Target utm_source, utm_medium, utm_campaign, utm_term or utm_content, or exclude one, such as utm_medium=organic. Claspo keeps the tags for the whole session, so the rule still works after the visitor leaves the landing page. Setup guide

    Target utm_source, utm_medium, utm_campaign, utm_term or utm_content, or exclude one, such as utm_medium=organic. Claspo keeps the tags for the whole session, so the rule still works after the visitor leaves the landing page. Setup guide

  • Campaign name in the text

    Campaign name in the text

    A merge tag puts the utm_campaign value into the popup: a visitor from ?utm_campaign=healthy reads “Looking for healthy treats?” Setup guide

    A merge tag puts the utm_campaign value into the popup: a visitor from ?utm_campaign=healthy reads “Looking for healthy treats?” Setup guide

  • URL include and exclude

    URL include and exclude

    Show a popup on pages whose URL equals, starts with, contains or ends with a value, or matches a regex, and hide it on others, such as the Thank You page. Setup guide

    Show a popup on pages whose URL equals, starts with, contains or ends with a value, or matches a regex, and hide it on others, such as the Thank You page. Setup guide

Site data

Site data

Use what your site already knows

Use what your site already knows

Claspo display rule on a dataLayer event: view_item where ecommerce.items.0.price is greater than 50
  • dataLayer events

    dataLayer events

    Show a popup when the dataLayer holds an event such as add_to_cart or view_item, and check its parameters, for example ecommerce.items.0.price greater than 50. Events must follow Google’s recommended format. Setup guide

    Show a popup when the dataLayer holds an event such as add_to_cart or view_item, and check its parameters, for example ecommerce.items.0.price greater than 50. Events must follow Google’s recommended format. Setup guide

  • Shopify cart, product and customer

    Shopify cart, product and customer

    A connected Shopify store can target the cart’s total value, item count, products, tags, SKUs and discount codes, the product on screen, and the customer’s login, order count and total spent. Setup guide

    A connected Shopify store can target the cart’s total value, item count, products, tags, SKUs and discount codes, the product on screen, and the customer’s login, order count and total spent. Setup guide

  • JavaScript variables

    JavaScript variables

    Send values from your site with claspo(‘addVariables’, {…}), such as cart value or loyalty tier, and compare them: equals, contains, greater than, less than. Values last for the current page only. Setup guide

    Send values from your site with claspo(‘addVariables’, {…}), such as cart value or loyalty tier, and compare them: equals, contains, greater than, less than. Values last for the current page only. Setup guide

  • Cookies

    Cookies

    Check whether a cookie of your domain exists or what it holds, for example referral = partner123. HttpOnly cookies can’t be read. Setup guide

    Check whether a cookie of your domain exists or what it holds, for example referral = partner123. HttpOnly cookies can’t be read. Setup guide

  • Local storage

    Local storage

    Read a key your site saved in the browser, such as productViews greater than 3 or quiz_completed is set. Setup guide

    Read a key your site saved in the browser, such as productViews greater than 3 or quiz_completed is set. Setup guide

  • CSS element on the page

    CSS element on the page

    Show a popup only when a given element is on the page, such as a sale banner. This helps on pages where the URL stays the same. Setup guide

    Show a popup only when a given element is on the page, such as a sale banner. This helps on pages where the URL stays the same. Setup guide

  • JavaScript API

    JavaScript API

    Call claspo(‘showWidget’, …) from your code or a Google Tag Manager tag to open a popup at the moment your site decides, such as right after registration. Setup guide

    Call claspo(‘showWidget’, …) from your code or a Google Tag Manager tag to open a popup at the moment your site decides, such as right after registration. Setup guide

Frequency and safety

Frequency and safety

Keep popups from getting in the way

Keep popups from getting in the way

  • Display frequency

    Display frequency

    Only once, once per session, once every so many minutes to weeks, or no limit. A session ends after 30 minutes of inactivity. Setup guide

    Only once, once per session, once every so many minutes to weeks, or no limit. A session ends after 30 minutes of inactivity. Setup guide

  • Stop rules

    Stop rules

    Stop showing a popup after the visitor closes it a set number of times, or after they subscribe. Setup guide

    Stop showing a popup after the visitor closes it a set number of times, or after they subscribe. Setup guide

  • Annoyance safeguard

    Annoyance safeguard

    When several popups, bars or floating boxes fire at once, Claspo shows them one after another with a silent interval, 3 minutes by default, so they never pile up. Setup guide

    When several popups, bars or floating boxes fire at once, Claspo shows them one after another with a silent interval, 3 minutes by default, so they never pile up. Setup guide

  • Schedule

    Schedule

    Set a start date, an end date, weekdays and hours in the time zone you pick: a sale popup from August 1 to 31, Monday to Friday, 09:00 to 18:00. Setup guide

    Set a start date, an end date, weekdays and hours in the time zone you pick: a sale popup from August 1 to 31, Monday to Friday, 09:00 to 18:00. Setup guide

Combined rules

Combined rules

Three setups that mix rules

Three setups that mix rules

  • A discount when the cart is over $100

    A discount when the cart is over $100

    Exit intent, plus the Shopify condition Cart total value greater than 100. Only shoppers with a big cart who are about to leave see the offer. Claspo doesn’t run on Shopify checkout pages, so these cart abandonment popups catch shoppers on product and cart pages. Setup guide

    Exit intent, plus the Shopify condition Cart total value greater than 100. Only shoppers with a big cart who are about to leave see the offer. Claspo doesn’t run on Shopify checkout pages, so these cart abandonment popups catch shoppers on product and cart pages. Setup guide

  • Campaign traffic that read the page

    Campaign traffic that read the page

    utm_campaign equals summer_sale, scroll depth 50% and 20 seconds on the page, all conditions met. Only visitors from that campaign who actually read the page see it. Setup guide

    utm_campaign equals summer_sale, scroll depth 50% and 20 seconds on the page, all conditions met. Only visitors from that campaign who actually read the page see it. Setup guide

  • A welcome offer for new phone visitors

    A welcome offer for new phone visitors

    Visitors: New, Device: Mobile, Exclude existing subscribers on, Display frequency: Only once. New phone visitors get a short email form once, and current subscribers never see it. Setup guide

    Visitors: New, Device: Mobile, Exclude existing subscribers on, Display frequency: Only once. New phone visitors get a short email form once, and current subscribers never see it. Setup guide

FAQ

Display rules: common questions

Display rules: common questions

What your site needs for the advanced rules, and how rules work together.

Yes. Under On pages, add a Data layer event condition, enter the event name, such as add_to_cart, and if you need it, a parameter like ecommerce.items.0.price with a comparison. Your site needs a dataLayer with events in Google’s recommended format; Claspo can’t use free-form data.

Connect the store to Claspo, then add the Shopify condition Cart total value with greater than and your threshold. Number of cart items greater than 0 limits a popup to shoppers with something in the cart. Claspo popups don’t appear on Shopify checkout pages.

Yes. Pass the value as a JavaScript variable, for example claspo(‘addVariables’, { cartValue: 120 }), and add a JavaScript variable condition with greater than. Or read the price from an add_to_cart event in the dataLayer. JavaScript variables are cleared on every page load, so send them on each page.

Yes. Pick “When any condition is met” (OR) to reach more visitors, or “When all conditions are met” (AND) for a narrow group, such as 20 seconds on the page plus exit intent. Audience, page and schedule settings apply on top.

No. Rules on the dataLayer, cookies, local storage and JavaScript variables read only what your site already provides, and cookies must belong to your domain.

Not by default. The annoyance safeguard queues popups, bars and floating boxes and shows the next one after a silent interval of 3 minutes, which you can change or count in page views instead.

Set up your first display rule

Set up your first display rule

Set up your first display rule

Every Claspo template comes with display rules already set. Start with them, then tune timing, audience and pages.

Every Claspo template comes with display rules already set. Start with them, then tune timing, audience and pages.