Instruction Video:
======
How to map SMS consent: #
Go to Klaviyo Feed Settings and find this field:
Please be notice that the phone number has to be with E.164 format, learn more here.
Or you can consider to purchase this add-on: https://gravityextra.com/gravity-forms-international-phone-number-mask-input-premium-addon/ so you don’t need to worry about your users entering the wrong phone format.
=======
How to map Email consent: #
Go to Klaviyo Feed Settings and find this field:
Please make sure to check for this setting Lists & Segments selected option Single opt-in:
=======
Added the [klaviyoaddon_consent_value_default] filter to allow changing the default value of the consent feature for email and phone.
Source:
$consent_enable = array('true', 'True', 'Yes', 'yes', 'Checked', 'checked', 'Selected', 'selected', 1);
$consent_enable = apply_filters('klaviyoaddon_consent_value_default', $consent_enable);
Demo: This code should be placed in the functions.php file of your active theme.
add_filter('klaviyoaddon_consent_value_default', 'klaviyoaddon_consent_value_default');
function klaviyoaddon_consent_value_default($value) {
$value = ['true', 'True', 'Yes', 'yes', 'Checked'];
return $value;
}
Thanks.