Gli utenti possono attivare la ricezione di email di marketing al di fuori della loro esperienza di acquisto. Quando l'attivazione del remarketing è abilitata, l'utente visualizza un widget durante il pagamento che gli chiede se vuole ricevere email di marketing da te.
Il valore di attivazione è incluso nell'azione di invio dell'ordine.
L'attributo FoodOrderExtension.optinForRemarketing
contiene la risposta di attivazione dell'utente. Viene inviato nel
SubmitOrderRequestMessage.
Se optinForRemarketing è impostato su true, puoi abbonare l'utente alle tue email di marketing.
Se optinForRemarketing è false o non è presente, devi mantenere invariato lo stato dell'abbonamento nel tuo sistema. Tieni presente che gli utenti non possono disattivare l'abbonamento tramite l'integrazione end-to-end di Ordering. Possono disattivare la funzionalità solo tramite le funzioni di annullamento dell'iscrizione fornite nei tuoi canali di marketing.
L'esempio seguente mostra un oggetto FoodOrderExtension in un
SubmitOrderRequestMessage:
[null,null,["Ultimo aggiornamento 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"]]