Forum
Welcome, Guest
Please Login to access forum.
Track consent of existing checkbox (1 viewing) 
Go to bottom
TOPIC: Track consent of existing checkbox
#7872
John Dagelmore
Admin
Posts: 3722
User Offline
Track consent of existing checkbox Karma: 79  
To track consents in the GDPR logs using an existing checkbox, you can try to modify the code of the existing checkbox by doing some sort of integration with the dynamic checkbox feature.

The existing checkbox must be modified in order to include 2 special attributes:

Code:

data-role="gdpr_dynamic_privacy_policy_checkbox"
Code:

data-placeholder="{nameofyourchoice}"
to have a final resulting checkbox such as:
Code:

<input data-role="gdpr_dynamic_privacy_policy_checkbox" type="checkbox" data-placeholder="{nameofyourchoice}" value="1">
However, to make sure that all the necessary scripts are included in the pages, there must be at least one record in the dynamic checkbox list of the backend, even if it is not used anywhere.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top