trackPrivacyPolicyLinkView
The trackPrivacyPolicyLinkView() method tracks when the consent form is viewed after a user clicks the privacy policy link.
Syntax
ppms.cm.api('trackPrivacyPolicyLinkView', 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(
'trackPrivacyPolicyLinkView',
function () {
console.log('Privacy policy link view tracked.')
},
function (error) {
console.error(error)
}
)