Skip to main content

Integrating VWRs on Web and Mobile

Different types of applications require distinct approaches for integrating with Virtual Waiting Rooms (VWRs) as the applications' platform and user interaction models determine the integration process.

Let's demonstrate how web and mobile applications can effectively integrate and use VWRs to manage traffic and enhance user experiences.

Prerequisites

Before proceeding, ensure to have the following tasks completed:

  • Get Credentials and Access: Creating a waiting room requires authentication with an API key. Contact and work with Macrometa personnel to obtain the necessary credentials to proceed.
  • Determine waiting room needs: The PhotonIQ VWRs offers numerous features to customize your waiting room needs:
    • Queue types: Depending on your particular business use case, VWR offers different queue types. For example, the FIFO type queues and dequeues users based on their order of arrival, while the random queue admits users randomly.
    • Required URLs: Determine the URLs to incorporate the waiting rooms.
  • Gather information: Gather all the required information, like waiting room details and traffic expectations, to simplify the setup process.

Integrating on Web and Mobile

Web apps, also called non-native or browser-based apps, are typically web-based and use standard web technologies such as HTML, CSS, and JavaScript. These applications run within web browsers and are the most common types integrated with VWRs. Integrating your web applications with VWRs occurs through web-based configurations, making it easier to implement an effective traffic management solution like VWR.

This guide explains the steps to connect your web app to VWRs, enhancing your ability to manage high traffic efficiently and maintain a seamless user experience.

Steps

To integrate your virtual waiting room with your web application:

  1. Create an API Key: An API key grants you access to the virtual waiting room service and is essential for all subsequent operations. You can create an API key with the VWRs GUI or via the VWRS API.

  2. Configure a VWRs EdgeWorker: EdgeWorkers helps manage the waiting room functionality on the Akamai side by directing traffic to the waiting room. This configuration is crucial for handling incoming traffic and directing it appropriately.

  3. Create and configure your waiting room: This step allows you to fine-tune how the waiting room operates and integrates with your site.

Monitoring your Virtual Waiting Room

Once your virtual waiting room is operational, consider monitoring and managing its performance to ensure optimal functionality:

  • Metrics and Analytics: Regularly check the VWRs metrics to assess the performance and effectiveness of your waiting room.
  • Review Usage Patterns: Analyze usage data to optimize settings and improve user experiences. You can customize your settings to analyze usage statistics at different time intervals: