J!Extensions Store™
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: 3502
User Offline
Track consent of existing checkbox 11 Months, 4 Weeks ago Karma: 75  
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  
 
Last Edit: 2018/07/02 10:56 By @store$eco#mm!.
  The administrator has disabled public write access.
Go to top