Os usuários podem ativar o recebimento de e-mails de marketing fora da experiência
de compra. Quando a ativação do remarketing está ativada, o usuário vê um widget durante
o checkout que pergunta se ele quer receber e-mails de marketing.
O valor de ativação é incluído na ação de envio de pedidos.
O atributo FoodOrderExtension.optinForRemarketing
contém a resposta de ativação do usuário. Ele é enviado no
SubmitOrderRequestMessage.
Se optinForRemarketing for true, você poderá inscrever o usuário nos seus
e-mails de marketing.
Se optinForRemarketing for false ou não estiver presente, mantenha o
status da assinatura no seu sistema como está. Os usuários não podem desativar
a integração de ponta a ponta de pedidos. Eles só podem desativar a inscrição usando
funções de cancelamento fornecidas nos seus canais de marketing.
O exemplo a seguir mostra um objeto FoodOrderExtension em um
SubmitOrderRequestMessage:
[null,null,["Última atualização 2024-11-26 UTC."],[[["Users can opt-in to receive marketing emails during checkout through a widget that's enabled upon request to Google."],["The `optinForRemarketing` attribute within the `FoodOrderExtension` object indicates the user's opt-in choice, sent with the `SubmitOrderRequestMessage`."],["If `optinForRemarketing` is true, you can add the user to your marketing email list; if false or not present, maintain their existing subscription status."],["Users can only opt out of marketing emails via your provided unsubscribe methods, not through the Ordering End-to-End integration."],["The remarketing opt-in widget is only displayed to users on their initial order attempt with a specific partner via Google."]]],["Users can opt into marketing emails via a checkout widget, enabled through a Google consultant. The `optinForRemarketing` attribute in the `SubmitOrderRequestMessage` indicates the user's choice. A `true` value allows subscription; `false` or absence requires maintaining the current status. Users cannot opt out through this integration, only through the partner's marketing channels. The widget is displayed on a user's first order attempt with a specific partner via Google.\n"]]