SDK Installation
Any Website
CTA Callback in Web
1min
cta configuration cooee sdk supports callback on any action of in app notifications actions by returning a map of key value pairs i e objects in javascript you can check more cta options on call to action docid\ kj yz ltdt72n4aqtvvqr page document addeventlistener('oncooeecta', function(event) { const payload = event detail; if (!payload) return; if (payload actiontype === "view item") { // take the user to the given item's page item id will be in "payload id" } else if (payload actiontype == "go to screen") { // take user to the given screen name } }, false);