trackSaveChoicesClick
The trackSaveChoicesClick() method tracks clicks on the Save choices button.
Syntax
ppms.cm.api('trackSaveChoicesClick', onFulfilled, onRejected);Parameters
onFulfilled: () => void
The fulfillment handler callback.
onRejected: (error: object) => void
The rejection handler callback. If not specified, the error is logged in the console.
Examples
ppms.cm.api(
'trackSaveChoicesClick',
function () {
console.log('Save choices click tracked.')
},
function (error) {
console.error(error)
}
)