Countdown to Action
Stop users from loitering on pages. Encourage them to take timely action.

Subscribe now to the Countdown Timer
Installing the Countdown Timer
You can install the Countdown Timer using our code snippets on just about any web site. You need to have the API key and url from the dashboard to use it. If you are a Wix user, there is a handy Wix app you can install - available from the Wix marketplace.
We strongly recommend that you keep your API key secret. Do not include it in any client-side code that could be viewed by end users.
The app is available from the Wix marketplace. Just follow the following 5 steps to get it up and running on your Wix site:
Download the app
Sign in to your Wix account
Go to your dashboard and retrieve your API key and Url
Add the app to your page(s) and record the API key and Url in the settings
Customise the display to fit in with your page style
The following snippet shows how to call the Countdown Timer from a Node.js application. You will need to replace <API_KEY> and <API_URL> with your actual API key and URL from your dashboard, and <TEXT_TO_MODERATE> with the text you want to moderate.
const data = {
data: {text: '<TEXT_TO_MODERATE>'}
};
const url = <API_URL> + '/textmoderator';
const response = await fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: 'Bearer <API_KEY>',
},
body: JSON.stringify(data),
});The following snippet shows how to call the Countdown Timer from a Python application. You will need to replace <API_KEY> and <API_URL> with your actual API key and URL from your dashboard, and <TEXT_TO_MODERATE> with the actual text you want to moderate.
import requests
import json
# User-defined values
api_url = "<API_URL>"
api_key = "<API_KEY>"
text_to_moderate = "<TEXT_TO_MODERATE>"
# The data structure matching your JS object
payload = {
"data": {
"text": text_to_moderate
}
}
url = f"{api_url}/textmoderator"
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {api_key}"
}
# Making the POST request
# Using the 'json' parameter automatically handles JSON.stringify()
# and sets the Content-Type header to application/json
response = requests.post(url, headers=headers, json=payload)Try the Countdown Timer for yourself
Click the buttons to start, reset and reformat the timer. The events generated will appear below. Choose which type of timer you want to display.
When this timer finishes a popup has been programmed to appear. You can listen for the event and handle it as you want.
Output: