You are here


Used by the following Containers: 
Variable Type: 
Custom Javascript
We just check if our gdprUserConsent is outdated
	  function() {
    // That would be very evil to change the frequency depending on the value of the 'gdprUserConsentSetting'
    // Doing so is more like Saruman than like Gandalf
    // Respect your users and you will finish in the greyHavens
    var gdprDefaultConsentFrequencyForUsers = {{gdprDefaultConsentFrequencyForUsers}};
	var gdprUserConsentElapsedTime = {{gdprUserConsentElapsedTime}};
	if (gdprUserConsentElapsedTime > gdprDefaultConsentFrequencyForUsers) {
    	return 1
    } else {
    	return 0

Add new comment