For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Checkout extensibility is going to replace custom checkout.liquid so we are migrating our third-party event to custom event.
We want to send a consent event when the user consents buyer_accepts_marketing filed, but there is no buyer_accepts_marketing filed in custom event like checkout.liquid. How to get
Hi JackLin_PG,
There is a buyerIdentity API for checkout UI extensions that has an acceptsMarketing
field on it which will work when your app has the customer data scope. Would this work for your use case?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog