I would like to give people the possibility to subscribe to our newsletter through out WooCommerne checkout flow. The code I made is like this:
Subscribe to our newsletter
The checkbox is there, so far so good. In Mautic I have made forms, so I store every information from the checkout page, which is working fine:
But how do I send the boolean value to Mautic in my checkbox? I tried to make a new contact field, but I am not getting any value in the field.