Hello Bonnie, and thank you for your interest in the Omnisend for WooCommerce plugin!
We do not currently offer an out-of-the-box solution, unfortunately. However, achieving your goal is still possible!
We recommend utilizing our API to push the subscription status through a custom form (specifically, your registration form on the account creation page). To accomplish this, you would need to use our API to push your new registrations to Omnisend with the relevant subscription status. You can find detailed information in our API documentation [link].
In this case, the POST contact API call would need to be implemented. We advise seeking assistance from a developer to create a solution tailored to your store. Below, you can find an example payload in Shell script for reference:
checkboxValue=true
if [ "$checkboxValue" = true ]
then
status_value="subscribed"
else
status_value="nonSubscribed"
fi
email="[email protected]"
firstName="John"
lastName="Doe"
curl --request POST \
--url https://api.omnisend.com/v3/contacts \
--header 'X-API-KEY: YOUR OMNISEND STORE API KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"identifiers": [
{
"type": "email",
"channels":{
"email":{
"status": "'"$status_value"'"
}
},
"id": "'"$email"'"
}
],
"firstName": "'"$firstName"'",
"lastName": "'"$lastName"'"
}
'
Let us know if it helps!