trackRejectAllClick

The trackRejectAllClick() method tracks clicks on the Reject all button.

Syntax

ppms.cm.api('trackRejectAllClick', onFulfilled, onRejected);

Parameters

onFulfilled() (function, required)

The fulfillment handler callback (called with result).

onRejected(error)

The rejection handler callback (called with error code). If not specified, the exception will be thrown in the main stack trace.

error (string | object, required)

Error code or exception

Examples

See an example of a custom consent form.