Also place this code inside and at the end of the updateTracked() function in your site-wide /BODY custom code.
// Look for any data-bound checkboxes
// and updated them according to the tracked state
$("input[type='checkbox'][wfu-bind-tracked]").each(function() {
const t = $(this).attr("wfu-bind-tracked");
const checked = window.tracker.isTracked(t) || false;
// jQuery set checkbox checked
// https://stackoverflow.com/a/19630917
$(this).prop('checked', checked);
// For custom-styled Webflow checkboxes
// we must manually update the checked class state
const $customCheck = $(this).prev();
const isCustomCheck = $customCheck.length === 1;
if (isCustomCheck) {
if (checked)
$customCheck.addClass("w--redirected-checked");
else
$customCheck.removeClass("w--redirected-checked");
}
});