Skip to content

Listing Popup Campaigns

Mridang Agarwalla edited this page Mar 13, 2019 · 1 revision

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.

nostojs(function(api) {
  console.log(api.popupCampaigns());
});

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
Clone this wiki locally
You can’t perform that action at this time.