Stacked Metrics

This section provides detailed instructions and resources for integrating various devices and software platforms with our system. Whether you're using BrightSign, CueServer, ESP development boards, or custom web applications, this documentation will guide you through the setup process.

Follow these steps to integrate BrightSign with Stacked Metrics:

  1. Create a BrightSign Project: Start by creating a new BrightSign project that includes a content layer and a hidden image layer.
  2. Define Variables: Create four variables specifically named "serial", "mac", "data_type", and "data_string."
  3. Set the "mac" Variable: Populate the "mac" variable with the device's MAC ADDRESS to uniquely identify each device's data.
  4. Assign System Serial Number: Set the "serial" variable to the system's serial number, which auto-populates with the device's serial number.
  5. Define "data_type": Set the "data_type" variable to represent the interaction type or presentation category.
  6. Set "data_string": Populate the "data_string" variable based on specific actions within the presentation using ENTRY commands or VARIABLE CHANGE commands to trigger transitions in your BrightSign presentation.
  7. Insert HTML for HTTP POST: Insert the HTML code below into the hidden image zone of your BrightSign project to send HTTP POST requests when needed.

To send data directly to Stacked Metrics using a raw HTTP POST request, follow these steps:

  1. Set up your device: Ensure your device is registered on your Stacked Metrics account. Serial number and MAC address in your POST request must match those in the account for data acceptance.
  2. Use this code: The following JavaScript example sends data to Stacked Metrics using error-handling.

Use this CueServer script to send data to Stacked Metrics for device interactions.

Follow these steps to integrate an ESP32 device with Stacked Metrics:

Follow these steps to integrate your custom web application with Stacked Metrics: