SDK Installation
Cordova

CTA Callback

1min
cta configuration cooee plugin supports callback when users perform any action on in app notifications & push notifications by returning an object of key value pairs check for more call to action docid\ kj yz ltdt72n4aqtvvqr for your industry type implements the cooeectalistener somewhere in your global code and override the following method document addeventlistener('oncooeectalistener', this oncooeectalistener, false); function oncooeectalistener(payload) { if (!payload) { return; } if (payload get("actiontype") == "view item") { // use payload get("item") } else if (payload get("actiontype") == "go to screen") { // use payload get("screenname") } }document addeventlistener('oncooeectalistener', this oncooeectalistener, false); function oncooeectalistener(payload) { if (!payload) { return; } if (payload\["actiontype"] == "view item") { // use payload\["item"] } else if (payload\["actiontype"] == "go to screen") { // use payload\["screenname"] } }