Skip to main content
Version: Current platform

Overlay Campaigns

Overlays render site-targeted popups, slide-ins, banners, fullscreen takeovers, notifications, and embedded placements through the browser SDK. Content is built from blocks such as forms, offers, quizzes, and product recommendations.

Create a welcome popup that introduces your collection and sends shoppers to an existing page in your store. This example uses a text block and a button, a short display delay, and conservative frequency limits.

Before you start​

  • Have an Upsurge site connected to the storefront you want to use, and permission to create campaigns.
  • Install the storefront runtime; for Shopify, finish the Shopify setup guide and turn on the Upsurge storefront app embed in the theme you will test.
  • Test with a visitor who has granted both personalization and marketing consent. Installation alone does not make an overlay eligible.
  • Have the full address of a published collection or other destination page ready. Replace the example address with your own.

The illustrations below are source-reconstructed UI examples, not live screenshots. They use fictional store and campaign details and show the current dashboard controls. Select any illustration to view it at full size.

Create the campaign​

1. Start a popup campaign​

Open Dashboard → Campaigns, choose Create Campaign, then Overlay. In Choose an overlay type, select Popup and continue; the other choices are Slide-in, Banner, Fullscreen, Notification, and Embedded. The type is locked after creation, so use a new campaign if you need to change it.

2. Choose your site and starting layout​

In Site, select the storefront under Website; a single available site is selected automatically. Continue to Template and choose Start from Scratch for this example, or pick a template that matches your chosen overlay type. If no site is available, use Create site first.

3. Add a message and a destination button​

In Design, use Add Block to add Text with “Discover your next favorite” and a Button labeled “Shop the collection.” Select the button, choose Open URL under Action, and fill in URL with the full address of your existing collection page. This example does not offer a discount or collect an email address.

Add a message and a destination button

4. Check the design on desktop and mobile​

Use Basic for the content blocks and Advanced for the overlay’s appearance. Switch between Desktop Preview and Mobile, check line wrapping and button size, and keep the close control easy to reach. If you use a form instead, finish its fields and submission settings and test the thank-you experience before launch.

5. Choose when the popup appears​

In Triggers, add a trigger and choose Immediate, then set Delay (ms, optional) to 3000 for a three-second delay before display. If you add more triggers, ANY trigger (OR) means one may match, while ALL triggers (AND) requires every trigger. A blank campaign needs at least one trigger before activation.

6. Choose where it appears and limit repeats​

In Targeting, start with no audience, page, or device rules so every otherwise eligible visitor can qualify; add rules only when you have a specific restriction. Keep Per session at 1, Per day at 1, Per lifetime at 3, and Cooldown (min) at 5. Leave Schedule dates empty for this example, so the campaign becomes eligible when you activate it.

Choose where it appears and limit repeats

When you need narrower targeting​

  • Use Page → Add page rule, then Include pages or Exclude pages to control eligible URLs; check both a matching and a nonmatching page.
  • Use Device → Add device rule to restrict devices, or Add audience rule for a saved audience.
  • Visitor must match combines rule groups: All rule groups requires every configured group, while Any rule group accepts a matching group.
  • If you schedule a campaign, the End date must be later than the Start date. Frequency limits still apply during the scheduled window.

7. Name the campaign and save a draft​

In Review, enter “Welcome — explore the collection” under Campaign Name and confirm Website. Leave Priority at 0 for this example; higher-priority overlays show first. Choose Save Draft to keep the campaign inactive while you review it; a draft may be incomplete, but it still needs a site.

Name the campaign and save a draft

8. Activate when the campaign is ready​

After saving a draft, reopen it, finish any edits, and choose Save Changes before Activate; activation stays unavailable while you have unsaved edits. If you are still in the new-campaign Review step, use Save & Activate instead. Fix validation messages first, and activate only when you intend to launch: without a future start date, the campaign can become eligible immediately.

9. Verify the storefront experience​

Open an eligible storefront page on desktop and on a real mobile device, grant the required consent, and wait three seconds. Check the message, dismissal control, and destination button on both devices; the editor preview checks the design, while this visit checks live display and navigation. Repeated refreshes may not show the popup again because of the frequency limits.

For an embedded overlay​

Choose Embedded at campaign creation when the content should sit inside the page instead of opening over it. It needs a storefront placement as well as an active campaign; trigger rules and frequency caps do not govern embedded rendering, even if frequency fields remain visible in the editor. Audience, page, device, consent, and schedule requirements still determine eligibility.

Place an embedded overlay on Shopify​

Keep the Upsurge storefront app embed turned on, then add the Upsurge embedded overlay app block to a compatible section in your theme editor. Enter the ID of an active embedded campaign for the same Upsurge site, save the theme, and visit the page containing the block. The Shopify setup guide covers installation and theme setup; the app embed alone does not place embedded content.

To find the campaign ID, open Campaigns, filter Product to Overlay, and copy the raw ID displayed beneath the campaign name.

If the overlay does not appear​

  • Confirm the campaign is active, uses the site connected to this storefront, and is within its schedule.
  • Confirm the storefront runtime is installed; on Shopify, check the Upsurge storefront app embed in the theme you are viewing.
  • Check both personalization and marketing consent. A visitor who has not granted them will not see storefront overlays.
  • Check page, audience, and device restrictions and trigger conditions; a higher-priority campaign may also win selection.
  • Account for Per session, Per day, Per lifetime, and Cooldown (min) limits. For a fresh test, use a new browser profile and grant consent again; refreshing the same page does not reset the limits.
  • For Embedded, confirm the app block is on the page you are testing and references the correct campaign ID.
  • If activation fails, return to the highlighted block or setting and complete it. A URL button needs a destination; a copy-code action also needs a coupon-code block.

Overlay types​

TypeBehavior
Popup, slide-in, banner, fullscreen, notificationFloating surfaces opened by triggers and limited by frequency caps.
EmbeddedRendered inside a storefront element with mountEmbeddedOverlay(). Triggers and frequency caps do not apply.

The overlay type cannot be changed after creation.

Blocks​

GroupBlocks
ContentText, Image, Video, HTML
CommerceProduct, Recommendations, Recent Products, Quiz
ActionsButton, Coupon, Countdown, Form
LayoutDivider, Spacer, Columns

An overlay holds up to 12 blocks, with up to 6 per column. Buttons can open a URL, close the overlay, or copy a code. The Form block starts from a preset (email signup, contact request, event registration, or feedback) or a custom field set. A Coupon block can use a manually entered code or an imported store coupon.

Duplicating a campaign creates a new draft. Deleting through the merchant flow archives it.

If your workspace has access to the Dashboard Assistant, you can request a draft or an edit to selected canvas content. Assistant changes stay in the unsaved editor with undo; saving and activation use the existing manual controls.

Video blocks select MP4 or WebM assets from the media library. They always show playback controls and support muted autoplay, looping, contain/cover/fill sizing, a required accessible label, an optional poster image, and optional HTTPS WebVTT captions. Autoplay is muted for browser compatibility and suppressed when the visitor prefers reduced motion. Captioned video and WebVTT origins must allow anonymous cross-origin requests. Verify that your storefront Content Security Policy allows both delivery origins through media-src.

Target the audience​

Targeting conditions can match a saved audience (see Audiences), page/URL, device, and country, region, or city. Choose explicit ALL or ANY logic. Search for any country, region or city when you add a location rule. Upsurge locates each visitor server-side from their IP address; the SDK does not receive the visitor’s IP or location.

Location targeting is approximate. An IP address places most visitors in the right country, but a city match is less certain, so treat city rules as a best effort. While a visitor’s location is unknown, a location rule does not match, whether it includes or excludes. An overlay that needs the rule stays hidden rather than showing to visitors it may exclude.

This product includes GeoLite Data created by MaxMind, available from https://www.maxmind.com. City populations, which rank search results, come from GeoNames under CC BY 4.0.

Optional intent targeting can include or exclude category, purchase-stage, brand, price-band, product, and audience-segment traits. Use the reach estimate as directional inventory, then validate on a controlled audience.

Profile variables use {{profile.field_name}}, for example {{profile.first_name}} or {{profile.loyalty_tier}}. Only fields allowed for the overlay surface are rendered; missing values become empty strings.

Configure triggers and frequency​

Available triggers are Immediate, Time on Page, Scroll Depth, Exit Intent, Inactivity, Page Count, and Element Click (a CSS selector). Choose ANY trigger (OR) or ALL triggers (AND):

  • ANY launches after the first configured trigger matches.
  • ALL waits until every configured trigger rule has fired.

Frequency caps limit displays Per session, Per day, and Per lifetime, with an optional cooldown in minutes. Configure them deliberately so previews and repeated QA visits do not look like targeting failures. Use Schedule (start and end date) to bound a campaign in time and Priority to choose between overlapping campaigns.

Preview and activate​

  1. Preview desktop and mobile layouts.
  2. Exercise every interactive block, close path, form, coupon, countdown, quiz branch, and destination URL.
  3. Confirm the actual target page matches targeting and trigger rules.
  4. Activate the campaign.
  5. Load the storefront in a clean session and verify /api/v1/overlays/config returns the campaign.
  6. Confirm upsurge-overlays.min.js loads only after a campaign matches.

Test variants​

Use the editor's A/B test variants workspace to create up to four versions of an overlay, then run them as an experiment. Variant editing has restrictions while an experiment is running.

Submissions and measurement​

Form blocks submit through /api/v1/overlay-submissions. Submissions appear in Dashboard → Leads, where you can deliver them to Mailchimp, Constant Contact, or SendGrid, retry failed deliveries, export, or delete them. See Leads. Do not request data you do not need, and handle capture data according to your consent and retention policy.

Overlay analytics distinguish:

  • overlay_shown
  • overlay_clicked
  • overlay_dismissed
  • quiz answers, completion, result impressions, and result clicks

Quiz events use stable IDs and remain separate from ordinary overlay clicks so answer selection does not inflate CTR.

Troubleshooting​

  • Config is empty: check the site ID, active status, target URL/device/location, schedule, and campaign archive state.
  • Config exists but nothing renders: check the feature bundle request, content validation, trigger state, frequency storage, and browser console.
  • Coupon overlay never appears: an imported coupon it uses has become unavailable; the overlay is suppressed until you select an available code.
  • Personalization is blank: confirm consent, identified/device context, allowed surface fields, and exact variable names.
  • Preview differs from live: reproduce the live viewport, URL, theme CSS, and trigger sequence; preview PNGs are thumbnails, not runtime proof.
  • Video is unavailable: confirm the media asset still exists, the browser supports its codec, and the storefront CSP permits its origin in media-src.

Cookie settings

Choose what Upsurge may use on this site. You can change this any time from the footer.

  • Essential

    Keeps the site working and remembers your language.

    Always on
  • Analytics

    Helps us understand which pages and features people use.

  • Personalization

    Tailors content and recommendations to what you’re looking at.

  • Marketing

    Measures which campaigns bring people to the site.

Email support

Or write to hello@upsur.ge