Flyin

Auto-Show Control Example

Limiting Auto-Open Frequency

This example demonstrates how to use autoShowLimit, autoShowCounter, and autoShowDelay to control how often a popup appears automatically to the same user.

How it works:
  • The popup is set to show at most 3 times (autoShowCounter).
  • Once the limit is reached, it won't show again for 1 day (autoShowDelay).
  • This requires storeCode to be set so Flyin can track the count in Local Storage.

Try refreshing the page several times. After the 3rd time, the popup will no longer appear automatically.

JavaScript Code