Offer countdowns / deadlines

The countdown tracks time until an offer expires. The deadline is stored on the Webivio backend — refreshing the page, using incognito, or switching devices (with access_code in the link) does not reset the timer.

Plans and limits

  • Starter (and Lite): 1 timer and up to 100 unique starts per calendar month (one production deadline per visitor; excluded test IPs do not count).
  • Pro: unlimited timers and starts.

After the monthly start limit, existing countdowns keep working, but new visitors will not get a new start until the next month or a Pro upgrade. Usage is shown on the Countdowns list.

Embed on the sales page

  1. In Webivio: Countdowns → New timer (step editor: settings → position & style → elements → embed).
  2. In the last step (Embed) copy the HTML snippet and paste it on your offer page (e.g. before </body>). For a new timer, save first — the code appears only after save.
  3. If the webinar has more than one offer, pick which offer starts the timer in the settings step.
  4. Font and optional text above the countdown are set in the style / elements steps.

You can still open Embed code from the timer list.

Visual widget vs custom look

  • Visual widget — the /embed script renders the countdown using styles from the panel (colors, position, CTA). Paste and go.
  • Custom look (headless SDK) — the /sdk script exposes WebivioTimer.init(...). Deadline storage, participant recognition (access_code / cookie), CTA tracking and post-expiry redirect stay on Webivio; you build HTML/CSS or bind data-webivio-timer-* elements.

Do not load both the visual widget and the headless SDK for the same timer on one page (duplicate API calls / tracking).

SDK with callbacks

<script src="https://www.webivio.com/api/public/timers/<timerId>/sdk"></script>
<script>
  var timer = WebivioTimer.init({
    onReady: function (state) {
      // state.status: active | test_mode | not_started | disabled | …
      // state.expiresAt, state.deadlineId, state.design
    },
    onTick: function (parts) {
      // parts.days, hours, minutes, seconds, remainingMs, expired
    },
    onExpire: function (info) {
      // info.actionAfterExpiry: "stay" | "redirect"
    },
    // handleExpiryRedirect: false — handle redirects yourself
  });
  // timer.reportCtaClick() — for your own CTA button
  // timer.destroy() — cleanup
</script>

HTML with data attributes

With autoBind enabled (default), the SDK fills:

AttributeRole
data-webivio-timer-days / hours / minutes / secondsText (zero-padded)
data-webivio-timer-remainingFormatted time (HH:MM:SS or with days)
data-webivio-timer-activeVisible while counting (hidden after expiry)
data-webivio-timer-expiredVisible after expiry
data-webivio-timer-ctaClick → track cta_click

A ready-made example is in the Embed step in the panel.

Test page (preview)

From the editor (Embed step or preview panel) or the timer list, open the test page — a fake LP with the real embed:

/timer-preview?timerId=<UUID>

Optionally add access_code. With the “first page visit” trigger the countdown starts immediately; with “when offer is shown” show the offer in the webinar room first.

In the webinar creator → Notifications → edit email:

  • Add countdown — CTA button with the offer URL and access_code={accessCode} (live countdown on the LP).
  • Add countdown GIF — animated countdown GIF in the email body (clickable offer link). The look is close to the on-page countdown (colors, headline, GODZ/MIN/SEK labels) — email uses a bitmap, so full CSS (e.g. gradients) is not available. The GIF shows time only if the participant already has a deadline (e.g. after the offer was shown). Opening the email does not start a new deadline; without one the image is invisible (transparent 1×1).

In Countdowns → Embed you can also copy the GIF HTML snippet for an external ESP.

In an external ESP, append the participant code (synced as kod_uczestnika / participantCode):

https://your-domain.com/offer?access_code={$kod_uczestnika}

GIF endpoint:

https://www.webivio.com/api/public/timers/<timerId>/gif?access_code={$kod_uczestnika}

Accepted params: access_code, wc, code, wvio_access_code.

Note: Outlook Desktop often shows only the first GIF frame (a static timestamp from open time).

Without a param, Webivio tries a first-party cookie (webivio_timer_id), then IP (anonymous records only) — this applies to the LP embed, not the email GIF (email requires access_code).

Offer buttons and offer links in chat automatically append the participant access_code — you do not need to add it manually in the creator.

Start trigger

  • When the offer is shown in the webinar — deadline starts on offer shown; visiting the LP alone returns not_started (widget hidden) if nothing started yet.
  • On first page visit — the first API call creates expires_at.

Test mode (excluded IPs)

Add your IP in timer settings — the countdown runs, but does not persist a production deadline and does not affect stats. Switching back to the browser tab does not reset the countdown; a full page refresh (F5) starts the time from scratch.

Stats

On the Timers list you can see starts, active and expired deadlines, and CTA clicks / expiry redirects.

For a specific participant (participants list → More → Offer timers) you see their deadlines: start, expiry, status, and whether they clicked the CTA.

Offer countdowns / deadlines - Webivio docs