Techdocs
Search…
Listing Popup Campaigns
You can use the JS API to list all the popup campaigns. This may be handy in situations when you would like to fetch all campaigns and iterate them to decide whether they should be shown or not.
1
nostojs(function(api) {
2
console.log(api.popupCampaigns());
3
});
Copied!

Fields

Field
Type
Reason
id
String
The identifier of the popup campaign
name
String
The name of the popup campaign
type
String
The trigger-type of the popup campaign
Last modified 1yr ago
Copy link
Contents
Fields