1. Overview
  2. Code Library
  3. Trigger Popup after X period of time

Trigger Popup after X period of time

This will be a native feature of the platform in January 2025.

Until then, you will need to add a button to your page, and use the code below.

Code goes in Page Settings > Custom Code > Head. Wrap it in <script> </script> tags.

// Replace 'x' with the desired time in milliseconds (e.g., 5000 for 5 seconds)
var timeDelay = x; // Time in milliseconds

setTimeout(function() {
    // Replace 'elementId' with the actual ID of the element you want to click
    var element = document.getElementById('elementId');
    if (element) {
        element.click();
    }
}, timeDelay);

© Help Docs 2025