Stay organized with collections
Save and categorize content based on your preferences.
Users can opt-in to receive marketing emails outside of their ordering
experience. When remarketing opt-in is enabled, the user sees a widget during
checkout that asks if they want to receive marketing emails from you.
The opt-in value is included in the submit order action.
The FoodOrderExtension.optinForRemarketing
attribute holds the opt-in response of the user. This is sent in the
SubmitOrderRequestMessage.
If optinForRemarketing is true, you can subscribe the user to your
marketing emails.
If optinForRemarketing is false or not present, you must keep the
subscription status in your system as-is. Note that users can't opt out
through your Ordering End-to-End integration. They can only opt out through
unsubscription functions provided in your marketing channels.
The following example shows a FoodOrderExtension object in a
SubmitOrderRequestMessage:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 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."]]],[]]