Get started
Before you begin
Before you start this tutorial, make sure you have:
- Completed the prerequisites.
- Reviewed your rate limiting rules to make sure they allow at least one request every 20 seconds (required for automatic page refreshes).
Step 1 — Plan out your waiting room
Before you create your waiting room, think about how you want it to appear and operate.
Location
Which page will you cover with a waiting room? You can only have one waiting room per page, so you need to identify the high-traffic areas of your website.
Specify the URL for your page by setting the hostname
and path
in your configuration settings.
Access method
You can direct visitors to your high-traffic page:
- Directly (via URL)
- Indirectly (via a redirect)
Queue activation
When you activate your waiting room, choose whether:
- All visitors to be queued, in preparation for a product release or other time-based event
- Only some visitors to be queued, as traffic reaches the thresholds defined in
Total active users
andNew users per minute
Step 2 — Create your waiting room
Create your waiting room by:
Appearance (optional)
Some customers can customize the design of their waiting room by editing the page’s HTML and CSS.
If you have this ability, think about how you want the page to appear.
Prepare your waiting room for mobile application traffic
If you need to manage traffic in a non-browser environment such as a mobile app or web app, use a JSON-friendly waiting room that can be consumed via your API endpoints. Please note that if you have a mobile app or web app that depends on resources that would be protected by a waiting room, you will need to update those clients to handle Waiting Room appropriately.
Step 3 — Activate your waiting room
Depending on your queue activation, you may deploy your waiting room differently.
Queue some visitors
To queue visitors only when necessary:
- Go to Traffic > Waiting Room.
- On a waiting room, set Enabled to On.
- Your waiting room will begin queueing visitors once it approaches the target traffic thresholds defined in Total active users and in New users per minute.
Queue all visitors
To queue all visitors prior to a time-based offering, set up a pre-queue as part of a waiting room event.
To start queueing all new visitors without a scheduled event:
- Go to Traffic > Waiting Room.
- On a waiting room:
- Ensure Enabled is set to On.
- Set Queue-all to On.
- Your waiting room will begin queueing all new visitors and will not allow any new visitors to the path protected by your waiting room. Queue-all will override all other waiting room settings, including event settings.
- To begin allowing visitors to the path protected by your waiting room, set Queue-all to Off.
Step 4 — Next steps
After you have created and deployed your first waiting room, you might also want to:
- Test your waiting room before it goes live.
- Monitor your traffic in real time.
- Troubleshoot potential issues.