getCurrentConsentPolicy( )
Gets the visitor's consent policy regarding allowed cookies and 3rd-party data transfer, such as for GDPR or CCPA purposes.
The getCurrentConsentPolicy()
function returns the
consent policy details of the visitor, meaning, which cookies the visitor allows and whether data transfer
to 3rd parties is allowed.
Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:PolicyDetails
Was this helpful?
Yes
No