Adding user marketing preference

This tutorial walks through how to get user-opt in for marketing emails. Use of this feature is subject to Reserve with Google’s marketing and email policy, your own terms of service and privacy policy, and any applicable regulation of the areas which you operate. If this feature is not enabled for your integration a Reserve with Google marketing checkbox may still be shown to the user.

User flow

In production, users see the marketing checkbox (which will default to unchecked) on their first check out experience with each partner. This option will only be shown to the user during their first checkout and currently will not be shown during future checkout flows. The checkbox will not be shown for users during guest checkout or when they are using alternate account information.

How it works

  1. The user completes their checkout flow and may or may not check the marketing opt-in box
  2. Reserve with Google will call your booking server to complete the checkout (CreateBooking)
  3. Reserve with Google (depending on the selection of the user), calls the SetMarketingPreference method to POST /v3/SetMarketingPreference with the user’s selection. Please refer to the below table.
User checkbox selection SetMarketingPreferenceRequest User's subscriptions status
Opt in opt_in set to true User is now subscribed (unless double opt-in is required).
Opt out opt_in set to false User is unsubscribed. This option is currently not available on the Reserve with Google 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). Opt-out is handled outside of Reserve with Google and there is no need to inform Reserve with Google of this change.
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.”

Double opt-in requirements

Double opt-in may be required depending on the area and type of emails partners send. In this case, the partner must send the user an email with a link to complete their opt-in. Users should not be considered subscribed until they complete the double opt-in process.