trackMainFormView
The trackMainFormView() method tracks the initial automatic view of the consent form when a user first visits the website.
Syntax
ppms.cm.api('trackMainFormView', 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
Updated 6 days ago