Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Shopify does not comply with Danish rules when it comes to marketing/newsletter sign-up.
I need the customer to complete the checkout before the newsletter sign-up event is actually stored.
Out of the box Shopify creates the customer in checkout and also saves the newsletter sign-up done in checkout even if the customer does not complete the checkout.
So I need a flow to check if the user does not complete the checkout but did opt-in to marketing.
In this case I need to unsubscribe them from marketing.
UNLESS if they were previously subscribed to marketing then I should not unsubscribe them.
I can't find a way to do this - probably because I'm not familiar with Flow.
I can see the Abandoned cart condition and I can find the condition if the customer accepts marketing, but I can't find any way to check if they already accepted marketing before they began checkout - and I also can't find the action to unsubscribe them.
Can anyone help?
I don't think there is a way in the API to know if they already had consent before it was updated. To do that, you could store the first consent when it happens to a metafield. You would also need to clear that if they ever revoke their consent. The app Flow helper has a "Customer unsubscribed from email marketing" trigger that may be helpful there
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024