Dodawanie preferencji użytkownika dotyczących marketingu
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Z tego samouczka dowiesz się, jak uzyskać od użytkowników zgodę na otrzymywanie e-maili marketingowych.
Korzystanie z tej funkcji podlega polityce marketingowej i polityce dotyczącej e-maili Centrum działań, Twoim własnym warunkom korzystania z usługi i polityce prywatności oraz wszelkim obowiązującym przepisom w obszarach, w których działasz. Jeśli ta funkcja nie jest włączona w przypadku Twojej integracji, użytkownikowi może być nadal wyświetlone pole wyboru Rezerwuj z Google marketing.
Wzorzec przeglądania
W wersji produkcyjnej użytkownicy widzą pole wyboru marketingu (domyślnie odznaczone) w każdej ścieżce płatności, dopóki użytkownik nie wyrazi na to zgody. Użytkownik pozostanie w programie do momentu rezygnacji z niego za pomocą linku do anulowania subskrypcji wysłanego w e-mailach marketingowych zgodnie z naszą polityką dotyczącą zgód na marketing partnera.
Pole wyboru nie będzie widoczne dla użytkowników podczas płatności bez logowania lub gdy korzystają z innych danych konta.
Jak to działa
Użytkownik kończy proces płatności i może, ale nie musi zaznaczyć pola zgody na marketing.
Centrum działań skontaktuje się z serwerem rezerwacji, aby dokończyć proces płatności (CreateBooking).
Centrum działań (w zależności od wyboru użytkownika) wywołuje metodę SetMarketingPreference, aby POST /v3/SetMarketingPreference z wyborem użytkownika. Zapoznaj się z tabelą poniżej.
Pole wyboru użytkownika
SetMarketingPreferenceRequest
Stan subskrypcji użytkownika
Włącz
Adres true został ustawiony jako user_to_receive_marketing
Adres false został ustawiony jako user_to_receive_marketing
Użytkownik anulował subskrypcję. Ta opcja jest obecnie niedostępna w interfejsie Centrum działań. Użytkownicy powinni anulować subskrypcję, korzystając z linku w e-mailu marketingowym (partner musi zaimplementować i umieścić ten link w każdym e-mailu marketingowym zgodnie z zasadami dotyczącymi uzyskiwania zgody na marketing przez partnerów). Rezygnacja jest obsługiwana poza Centrum działań i nie musisz informować Centrum działań o tej zmianie.
Brak wyboru
Nie wysłano prośby
Ostatni stan subskrypcji użytkownika pozostaje w mocy. Jeśli użytkownik
nie wybrał wcześniej stanu subskrypcji (wyrażenie zgody lub rezygnacja),
stan domyślny powinien wynosić „rezygnacja”.
Wymagania dotyczące podwójnego wyrażenia zgody
W zależności od obszaru i rodzaju wysyłanych przez partnerów e-maili może być wymagane podwójne potwierdzenie. W takim przypadku partner musi wysłać użytkownikowi e-maila z linkiem do potwierdzenia. Użytkownicy nie powinni być uważani za subskrybentów, dopóki nie przejdą procesu podwójnego potwierdzenia.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThis tutorial explains how to integrate a marketing email opt-in feature into your Reservations End-to-End integration with Google.\u003c/p\u003e\n"],["\u003cp\u003eUsers can opt in or out of marketing emails via a checkbox during checkout, with the system defaulting to opted-out if no selection is made.\u003c/p\u003e\n"],["\u003cp\u003eThe Actions Center communicates the user's preference to your booking server through the \u003ccode\u003eSetMarketingPreference\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003ePartners may need to implement a double opt-in process where users confirm their subscription via email, depending on regional regulations and email types.\u003c/p\u003e\n"],["\u003cp\u003eFor existing integrations, enabling marketing emails requires contacting Google support through the provided form.\u003c/p\u003e\n"]]],["Users can opt in to marketing emails via a checkbox during checkout. The Actions Center then calls the `SetMarketingPreference` method, sending `true` or `false` based on the user's selection. No selection results in no request, maintaining the user's previous status. Opt-outs are handled via an unsubscribe link in partner marketing emails. Double opt-in may be needed, requiring users to confirm their subscription via email. Enabling marketing emails requires contacting the support team via the provided form.\n"],null,["# Add user marketing preference\n\n| **Note:** Please reach out to our support team via [this](https://actionscenter.google.com/support/cases/open) form if you are interested in enabling marketing emails for your existing Reservations End-to-End integration.\n\nThis tutorial walks through how to get user-opt in for marketing emails.\nUse of this feature is subject to\n[The Actions Center's marketing and email policy](/actions-center/verticals/reservations/e2e/policies/platform-policies#marketing-and-email-policy), your own terms of\nservice and privacy policy, and any applicable regulation of the areas which\nyou operate. If this feature is not enabled for your integration a Reserve\nwith Google marketing checkbox may still be shown to the user.\n\nUser flow\n---------\n\nIn production, users see the marketing checkbox (which will default to\nunchecked) in every checkout flow. until the user opts in. The user will remain opted in until\nthey opt out via the unsubscribe link sent in your marketing emails per our\n[Partner Marketing Opt-ins](/actions-center/verticals/reservations/e2e/policies/platform-policies#partner-marketing-opt-ins) policy.\nThe checkbox will not be shown for users during guest checkout or when they are using alternate\naccount information.\n| **Note:** In sandbox and production, the checkbox shows for every checkout flow for ease of development and testing.\n\nHow it works\n------------\n\n1. The user completes their checkout flow and may or may not check the marketing opt-in box\n2. The Actions Center will call your booking server to complete the checkout (`CreateBooking`)\n3. The Actions Center (depending on the selection of the user), calls the [SetMarketingPreference method](/actions-center/verticals/reservations/e2e/reference/booking-server-api-rest/e2e-methods/setmarketingpreference-method) to `POST /v3/SetMarketingPreference` with the user's selection. Please refer to the below table.\n\n| User checkbox selection | SetMarketingPreferenceRequest | User's subscriptions status |\n|-------------------------|--------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Opt in | `user_to_receive_marketing` set to `true` | User is now subscribed (unless [double opt-in](/actions-center/verticals/reservations/e2e/add-ons/add-marketing-preference#double-opt-in) is required). |\n| Opt out | `user_to_receive_marketing` set to `false` | User is unsubscribed. This option is currently not available on the Actions Center UI. Users should unsubscribe through the unsubscribe link in the marketing emails (the partner must implement and include this link in each marketing email as specified in [Partner Marketing Opt-ins policy](/actions-center/verticals/reservations/e2e/policies/platform-policies#partner-marketing-opt-ins)). Opt-out is handled outside of Actions Center and there is no need to inform the Actions Center of this change. |\n| No selection | No request sent | User's most recent subscription status remains in effect. If the user has not previously made a subscription status selection (opted in or out) then the default status should be \"opted out.\" |\n\n### Double opt-in requirements\n\nDouble opt-in may be required depending on the area and type of emails\npartners send. In this case, the partner must send the user an email with a\nlink to complete their opt-in. Users should not be considered subscribed\nuntil they complete the double opt-in process."]]