Użytkownicy mogą wyrazić zgodę na otrzymywanie e-maili marketingowych poza procesem zamawiania. Gdy masz włączoną opcję śledzenia remarketingowego, podczas płatności użytkownik widzi widżet z pytaniem, czy chce otrzymywać od Ciebie e-maile z reklamami.
Wartość akceptacji jest uwzględniona w działaniu polegającym na przesłaniu zamówienia.
Atrybut FoodOrderExtension.optinForRemarketing zawiera odpowiedź użytkownika na prośbę o zgodę. Jest on wysyłany w ramach SubmitOrderRequestMessage.
Jeśli optinForRemarketing to true, możesz zasubskrybować użytkownika do otrzymywania e-maili marketingowych.
Jeśli optinForRemarketing jest false lub nie jest obecny, musisz zachować stan subskrypcji w swoim systemie. Pamiętaj, że użytkownicy nie mogą zrezygnować z integracji obejmującej cały proces zamawiania. Mogą zrezygnować z subskrypcji tylko za pomocą funkcji rezygnacji dostępnych w Twoich kanałach marketingowych.
Poniższy przykład przedstawia obiekt FoodOrderExtension w SubmitOrderRequestMessage:
[null,null,["Ostatnia aktualizacja: 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"]]