You can use the JS API to conditionally enable or disable a popup.
The following snippet enabled the specified popup.
id
String
✔
The identifier of the popup campaign
The following snippet disables the specified popup.
id
String
✔
The identifier of the popup campaign