Skip to main content

Rule-based triggers and targeting

Every widget in Claspo can be fine-tuned to appear at just the right moment, for just the right person

Updated over 2 weeks ago

While all templates in the Claspo’s library already come with smart default display settings — based on best practices for their specific use case — you’re never locked in. Want more control? You’ve got it.


Rule-based display options allow you to define when, where, and to whom a widget should appear. You can mix and match conditions to create a highly personalized user experience.


Behavioral triggers

Show your widget based on what visitors do — and when they do it. These triggers respond to real-time actions like scrolling, reading, or inactivity. Use them to catch visitors at peak interest, nudge them back when they stall, or time your offer just right

  • After time on page
    Trigger the widget after a visitor spends time on a specific page. Great for showcasing related offers, lead magnets, or upsells when someone is deeply engaged with a particular piece of content.

  • After time on site
    Measure total time spent across the entire website. Ideal for triggering broader campaigns — like sitewide discounts or loyalty offers — once the visitor has shown overall interest.

  • After a certain scroll depth
    Trigger based on how far someone scrolls. A smart way to catch engaged readers mid-flow — perfect for blog CTAs, product recommendations, or content upgrades.

  • After viewing several pages
    Target highly engaged visitors who are exploring your site. Use this to promote demos, discounts, or deeper offers to people already showing strong interest.

  • After inactivity
    Show a widget when someone goes idle. A great moment to offer help, recover attention, or prompt action before they drift away.

  • On exit intent
    Catch users just as they’re about to leave. Use it to reduce cart abandonment, save signups, or offer a last-chance incentive before they bounce.

Audience targeting

Trigger widgets for the right person, not just at the right time. Define who sees your widget based on new vs. returning status, traffic source, etc. The more personalized, the better the results.

Page targeting

Set where your widget should appear — and where it shouldn’t. Use URL rules and page categories to display widgets only on specific product pages, blog posts, pricing pages, or checkout flows.

  • Target or exclude specific URLs
    Show widgets only on relevant pages (like product or checkout pages) or hide them where they don’t make sense (like Thank You pages) — keeping the experience focused and effective.

  • UTM parameter targeting
    Personalize widgets based on where visitors came from — such as a specific ad, campaign, or email — to match your message with their intent and maintain consistency.

  • CSS element targeting
    Trigger widgets based on whether a specific element (like a promo banner or cart block) is present on the page — perfect for dynamic content and ecommerce flows where URLs don’t change.

Advanced targeting

Want even more control? Use advanced methods like Data Layer events, Local Storage, cookies, or JavaScript variables to target visitors with precision — based on real-time behavior, stored preferences, or custom site logic.

  • Data Layer events
    Trigger widgets based on actions tracked via your Data Layer — like purchases, sign-ups, or cart additions — for precise, event-driven personalization.

  • Local Storage key
    Use values stored in the browser (such as user interests) to control widget visibility — even after page reloads.

  • Cookie values
    Tailor widget display based on existing cookie data — like referral source, user behavior, or preferences already stored by your site.

  • Pass custom visitor data directly to Claspo — like cart status, login state, or customer type — for real-time, context-aware targeting.

Did this answer your question?