Widgets
How to add a countdown timer to your website
How do you add a countdown timer to your website? Fixed-date vs per-visitor timers, what happens at zero, a “ships today” timer and honest sale rules.
In short
- A countdown timer is a block that shows the days, hours, minutes and seconds left until a sale ends, live on your site; it usually sits inside a thin bar at the top of the page.
- Roigo has two types: Until a date counts down to the same moment for everyone (you enter the time in Turkey time), while Per-visitor timer starts when each visitor first sees it. If the sale ends on the same day for everyone, Until a date is the right pick.
- When time runs out, the timer doesn't remove itself: it shows the end text you wrote. A countdown with a past end date can't be published; when the sale is over, pause the widget.
- There's also a separate timer: “Ships today”. It shows the time left until your shipping cutoff, in Turkey time. A timer should only count a real deadline; if the sale doesn't actually end, fake urgency costs you your visitors' trust.
In this guide
- What is a countdown timer and what is it for?
- Until a date or a per-visitor timer?
- Time zone: whose clock does the end time follow?
- What happens when the countdown ends?
- Which copy works?
- What is a “ships today” timer?
- How do you avoid fake urgency?
- Where and how often should the timer be shown?
- How to add a countdown timer to your site
- Pre-publish checklist
- How to measure the timer's effect
- Plans and widget allowance
- Frequently asked questions
- Sources
The sale runs for a week, but visitors only find out at checkout, or never. Anyone who sees the campaign can say “I'll look later”; a running clock at the top of the page backs up the feeling of “I need to decide before it ends” with a concrete fact: this much time is left.
This guide covers everything about adding a countdown timer to your site: which type to choose, what happens when time runs out, what to watch for with time zones, the “ships today” timer, how to avoid fake urgency and the setup step by step. If you're looking for this only for a sale week, the November sales guide also gives you a preparation calendar.
What is a countdown timer and what is it for?
A countdown timer is a block that shows the time left to a given moment in days, hours, minutes and seconds and updates itself every second. In Roigo the timer isn't a separate widget but a block: you can place it on its own in a bar, a popup or another widget, together with text and a button. The ready-made Countdown campaign template puts three parts together in a one-line bar: the sale line, the time left and a button.
A timer makes the most sense in these situations:
- Sales with a real end date: an end-of-season sale, a weekend deal, November sales, the day a promotional price expires.
- When order time matters: showing a time-bound promise live to the visitor, like “ships today”.
- Announced launches and openings: showing the time left to visitors waiting for a new collection or a registration window to open.
A timer doesn't raise sales by itself; it makes a deadline that's already real visible. If the offer is weak, a timer won't strengthen it; if the offer is good and the deadline is real, it can bring the visitor's decision forward. To measure this in your own store, see the measuring section below and the conversion rate guide.
Until a date or a per-visitor timer?
Roigo's countdown block has two types, chosen from the Type option in the studio's Countdown section:
| Feature | Until a date | Per-visitor timer |
|---|---|---|
| How does it work? | Counts down to the same moment for everyone. You enter the end date and time. | Runs for each visitor from the moment they first see the timer. You set the duration in minutes. |
| Duration setting | End: date and time, in Turkey time. | Duration: between 5 minutes and 24 hours in the studio. |
| When is it right? | When the sale ends on the same day for everyone: a season sale, November sales, the last day of a promotional price. | When the offer really has a per-person time limit: for example a welcome offer whose code you separately limit in your store to 24 hours from the person's first visit. |
| Watch out | It can't be published with a date in the past; you get a warning before publishing. | The start is stored in the visitor's browser: it starts again in another browser, a private tab or after the data is cleared. |
Time zone: whose clock does the end time follow?
On the Until a date type you enter the end moment in the studio in Turkey time; the field uses Turkey time even if your computer is in another time zone. The end is converted to a single absolute moment and saved, so it ends at the same instant for everyone, wherever they're looking from. The time left on the visitor's screen is calculated from their device's clock: on a phone whose clock is set wrong, the timer drifts by the same amount. That's rare, but if you promise the sale ends at an exact moment, set the sale's end in your store platform to the same moment.
What happens when the countdown ends?
When the timer reaches zero, the digits disappear and the text you wrote in the Text when time is up field takes their place; in the ready-made template it's “The sale has ended”. The bar, the button and the sale line stay where they are. Only the text itself announces the end. The practical consequences:
- The widget doesn't remove itself. When the sale is over, use Pause on the My widgets list; it leaves your site within a minute. A paused widget isn't deleted and keeps its settings: next year you change the end date and publish it again.
- You can't publish with an end date in the past. The studio flags a past date with a warning, and the pre-publish check stops with “The countdown end date has passed”.
- Write the end text well. “The sale has ended” is honest; something like “Follow us for the next sale” takes the visitor to a next step.
- The days box hides at 0 days. With less than 24 hours left, the timer shows only hours, minutes and seconds; the captions under the digits can be switched on or off with Day / hour labels.
Which copy works?
The timer tells the time; the copy should tell why it matters. The percentages and days in the examples are only examples; write the real details of your own sale.
Weak
Last chance!!! Don't miss out!!!
Strong
Season sale 20% off: ends Sunday 23:59
Weak
A new sale every day!
Strong
Free shipping this weekend: time left
Weak
OK
Strong
See the discounted products
Live preview: try it
What is a “ships today” timer?
A “ships today” timer counts down not to a sale but to your shipping cutoff: “Order within 2 hours 14 minutes and it ships today.” Visitors see, before adding anything to the cart, when their parcel leaves depending on when they order. The timer runs by itself: once the cutoff has passed, or on a day with no shipping, it writes the next shipping day, such as “Order now and it ships tomorrow”.
There are two ready-made templates, and the settings are the same in both:
- Ships today (
dispatch_bar): a thin bar at the top of the page. - Ships today on product pages (
dispatch_product): a small box right below the “Add to cart” button on product pages. The button is found from the platform's markup (ideasoft, Shopify, ikas); on pages where it can't be found, and for sold-out products, nothing is drawn. To place it elsewhere, change the placement in the studio to a CSS selector or your own box.
| Setting | What it does |
|---|---|
| Shipping cutoff time | Orders placed before this time ship the same day. Entered in Turkey time; the default is 15:00. |
| Shipping days | You mark which days of the week you ship; the default is Monday to Friday. |
| Non-shipping special days | You add holidays one by one; on those days the timer writes the next shipping day. |
| Before / after cutoff text | {sure} becomes the time left, and {gun} becomes “tomorrow” or a day name (a date if it's more than a week away). If you leave the after-cutoff text empty, the timer is hidden at those times. |
| Show seconds | When off, the time is rounded up to the minute; in the last minute it says “1 minute”, never “0 minutes”. |
The calculation follows Turkey time, not the visitor's time zone: someone visiting from abroad sees the store's time too. That's why the promise you put in the timer must match your real shipping routine exactly.
Live preview: try it
A shipping timer can sit alongside a sale timer, but two timers on the same page tire visitors. During sale week, a sale bar at the top and the shipping box on the product page is a good split. The differences between top bars are covered in the announcement bar guide, and the shipping bar that updates with the cart total is in the free shipping bar guide.
How do you avoid fake urgency?
Used right, a timer gives information; used wrong, it deceives visitors, and once noticed it damages the credibility of your whole store. If the timer resets and starts again, if the same price stays after the sale “ends”, or if every visitor is shown the same “last 2 hours”, people learn this over time. To use it honestly, follow these principles:
- Make the deadline real. When the timer ends, the price, coupon or sale must actually end in your store; switch it off in your platform too.
- State the end time and scope. The copy should say which products, which date and which hour; the timer confirms it live.
- Use the per-visitor timer only for offers that really are personal. It's honest if you also enforce, in your store, that a welcome code is limited from the person's first visit; if the sale is open to everyone, choose Until a date.
- Don't keep restarting the timer. Extending the same deadline several times teaches visitors not to trust it; if the deadline will be extended, say so openly.
- Don't overuse it. Seeing a timer on every page and every sale makes it invisible; save it for a few real sales a year.
For definitive information on advertising and consumer law, ask a legal adviser or check the official announcements of the relevant authorities; this guide isn't legal advice. The practical principle is simple: what the timer says should match what the store does.
Where and how often should the timer be shown?
A countdown most often sits inside a bar. In the studio's Layout section, the bar is set to Top or Bottom; if you choose top, the Sticky on scroll option appears too. A top bar is part of the page flow and pushes the content down; a bottom bar sticks to the bottom of the screen. Because it's a small strip, it bothers visitors far less than windows that cover the page.
| Setting | Suggestion |
|---|---|
| Pages (Targeting) | Keep it on the campaign page and the home page; on cart and checkout pages only widgets targeted there appear. If you want it only on the campaign page, choose Custom URL and type part of the address. |
| Device | The bar works on mobile too; on narrow screens the content wraps. If it takes too much room on a phone, show it on desktop only. |
| Frequency (Behavior) | The template uses Once per visit: a visitor who closes the bar doesn't see it again during that visit. You don't have to show the campaign timer on every page. |
| Closing | Leave the close button on; visitors should be able to dismiss the timer. |
Google considers promotional popups that cover a page's content intrusive, and says banners that use a reasonable amount of screen space and are easy to dismiss are fine (Google). A thin, dismissible countdown bar falls into that category; a full-screen timer window covering the page does not. For more on announcement bars, see the announcement bar guide.
How to add a countdown timer to your site
In Roigo, you build a timer without code in a few minutes:
- In Widget Studio, open Templates, pick the Countdown campaign template and click Continue. For “Ships today”, pick the Ships today template.
- Change the sale line, the button text and its link to match your sale.
- Select the countdown block: choose the Type, set the Ends (Turkey time) or Duration field and write the Text when time is up.
- Choose the bar's position under Layout, the frequency under Behavior, and the pages and device under Targeting.
- Add the one-line install code once in your platform's admin, in the place listed below. Once the code is running, the panel shows Verified.
- Publish. You won't need to add the code again for future widgets.
| Platform | Where the code goes |
|---|---|
| ideasoft | Ayarlar → Genel Ayarlar → Özel Script Kodları (Settings → General Settings → Custom Script Codes) |
| Shopify | Online Store → Themes → ⋯ → Edit code, in theme.liquid, right above </body> |
| ikas | A new code (script) under Eklentiler (Extensions) |
Because the code runs on every page, the timer works on ideasoft, ikas, Shopify and any site where you can add code. Check the timer in the mobile and desktop previews separately; content that doesn't fit on one line on a phone wraps below. For platform details, see the ideasoft and ikas widget guides, and for a general overview the Widget Studio page and the countdown showcase page.
Pre-publish checklist
How to measure the timer's effect
Test whether a timer raises sales with your own data, not someone else's numbers. The widget list shows each widget's views and clicks for the last 30 days; clicks on the button show interest in the bar. For the effect on sales, compare orders, cart value and visits to the sale page on campaign days against a previous similar campaign in your platform's reports. To really test it, use the timer in one of two similar campaigns and not in the other, keeping other effects such as season, discount rate and ad spend separate. The result is enough to decide whether to use a timer in the next sale; it isn't a universal rate.
For the general framework for raising conversion, see the ecommerce conversion rate guide; for the other tools used alongside a timer, see the exit-intent popup and free shipping bar guides.
Plans and widget allowance
Lite includes 3 live widgets and 25,000 views a month, and the countdown can be one of them. Pro includes 10 live widgets and Business 30: you can run a sale bar, a shipping box and an email capture popup together. On the free trial you build and preview the widget, publishing starts with a plan. When the monthly views run out, widgets stop showing on your site until the end of the month; the rest of your site isn't affected. Plans are on the pricing page.
Frequently asked questions
How do I add a countdown timer to my website?
In Roigo you pick the Countdown campaign template in Widget Studio, write the sale line and the end date and time, and publish. You add the one-line install code once in your platform's admin: Özel Script Kodları on ideasoft, theme.liquid on Shopify, the Eklentiler section on ikas. No coding is needed.
What happens when the countdown ends?
The digits disappear and the text you wrote in the Text when time is up field shows (“The sale has ended” in the template). The widget doesn't remove itself; when the sale is over you press Pause in the My widgets list, it leaves your site within a minute and keeps its settings.
Which time zone does the countdown use?
On the Until a date type you enter the end in Turkey time and it ends at the same instant for everyone. The time left for the visitor is calculated from their device's clock. The “Ships today” timer also follows Turkey time rather than the visitor's time zone.
What's the difference between a per-visitor timer and a fixed-date countdown?
Until a date counts down to the same moment for everyone. A per-visitor timer starts for each visitor when they first see it; because the start is stored in the browser, it starts again in another browser or a private tab. If the sale ends on the same day for everyone, Until a date is the right and honest choice.
Why is a fake countdown timer a problem?
A timer that never ends or keeps restarting teaches visitors the store can't be trusted, and once noticed, all your sales lose their effect. A timer should only count a price, coupon or sale that really ends in your store. For legal consequences, consult a legal adviser.
How does the “ships today” timer work?
You enter the shipping cutoff (the default is 15:00), the shipping days and the holidays. The timer, in Turkey time, writes the time left before the cutoff, and after the cutoff or on a non-shipping day it writes the next shipping day. The promise you make about order time must match your store's real shipping routine.
Can I set up a countdown on the free trial?
On the trial you build and preview the timer; publishing on your site starts with Lite (3 live widgets, 25,000 views a month). No coding is needed; you add the install code to your site once.
Sources
The official documents the information in this guide is based on.
Set up your countdown timer today
Pick the template, write your sale and its real end time, and add the code once. The preview you see in the studio is the very timer that runs on your site.
Get startedNo card required · 3 live widgets on Lite
Related guides
All guidesCampaign prep
Black Friday store checklist: a week-by-week plan
· 13 min readWidgets
How to add an announcement bar to your online store
· 15 min readWidgets
How a free shipping bar raises your average order value
· 6 min readWidgets
Exit-intent popups: what they are and how to set one up
· 12 min readWidgets
How to increase your e-commerce conversion rate
· 12 min read
