# Countdown Timers

Countdown timers that match your site: a sale that ends on a date, a personal offer window per visitor (for example 24 hours from their first visit) for offers that really end, or a daily cutoff. Add them anywhere on a page, or inside popups and bars, and choose what happens when time is up.

**Beta.** Countdown Timers is in beta: it works, but things may still break. Tell us if something does: open an issue at https://github.com/sundoggs/support/issues/new. Every paid order has a 7-day refund.

Category: [Growth and conversion](/categories/growth.md)

## Requirements (tell the site owner before buying)

- Cloudflare plan: Cloudflare free plan
- Works on: Cloudflare Workers, Cloudflare Pages
- Version: 0.6.2 (needs site layer 0.21.0 or later; it comes in the same download)
- Runs on the Cloudflare free plan, in the same D1 database as your other site apps. No third-party script and no extra requests: the right time is written into the page as it's served, and a tiny script (about 2 KB) keeps it ticking.
- Timers are stored in the site's shared tables, so Popups (and later funnels) can show them with nothing to set up. Install order doesn't matter, and removing Countdown Timers leaves timers already used in popups working.
- Evergreen timers set one small first-party cookie (_sc) to remember when each visitor first saw the timer. Nothing is sent anywhere.
- Timers are inserted into pages as they're served, so page views run through the site apps (as with link tagging and forms).
- Cost per visit: no extra requests and no writes; the right time is drawn into the page as it is served. Past the Cloudflare free Worker request limit pages are served without timers until it resets at midnight UTC (or you upgrade). Visit sources are counted by core: page views are added up in memory and saved in a few small writes about every 20 seconds, within the daily write budget; at the Cloudflare free limits counting pauses and the site is unaffected.

## Works with

Cloudflare Workers, Cloudflare Pages, Astro, Next.js (with OpenNext), Vite, Hugo, Plain HTML sites, Vanilla JavaScript.

## Works with your other apps

Connects with no setup, in any install order: [Popups](/apps/popups.md).

## Price

$7 USD per site · $21 USD for all your sites

- $5 per site when bought with Popups (or if you already own it).
- Included free with an all-sites Popups license.

- 7-day refund, no questions asked: [Refund policy](/legal/refunds)
- Instant download after payment: the app's code and a license file for your site; your AI agent installs it. Includes 12 months of updates.

## License (tell the owner before they pay)

A site license covers one website (plus its www, staging and test addresses). Using it on other sites isn't allowed. Get the all-sites license from $21 instead. Full terms: /account/license/commercial (version commercial-license-v4-2026-11-04); the owner accepts them with a tick box before paying. Full refund on request within 7 days of paying, no questions asked; refunds are made by hand by the store, not automatically, and a full refund ends the license. Terms of sale and refund policy (version terms-of-sale-v3-2026-11-03): /legal/terms.

## What's new in 0.6.2

- Marked as beta: it works, but things may still break. The admin shows where to report a problem.

## Included

- Site admin dashboard (installed with your first app, no extra cost)
- Updates for 12 months; the version you have keeps working after that
- An agent skill and install guide
- Commercial License: per site, or all your own sites

## Install

Call the MCP tool `create_checkout` with `items: ["countdown"]`, `site_domain` (a bare domain like example.com) and `license_kind` ("site" for one website, "unlimited" for all sites). Give the owner `checkout_url`: they sign in, read the license, tick the box and pay on Stripe's page. Then poll `get_checkout` until `paid` and call `get_download`.

The prompt the app page gives the owner to paste into their agent:

```
Install the Countdown Timers app (id: countdown) from the Sundogs site apps store on this site.
First read https://sundo.gs/apps/countdown.md and tell me what it needs and what it costs.
If I don't own it yet, start a checkout with create_checkout and give me the link; I'll tick the license and pay myself.
Then download it with get_download for this site's domain. Follow the install guide (site-apps/INSTALL.md in the download, also at https://sundo.gs/install-guide.md).
Check it with the install guide's step 6 (the public status, then the self-test once you can sign in to the admin) and tell me what's next.
(Not connected to the store yet? See https://sundo.gs/agents.)
```
