Opt-outs

Opt-outs are invitees who have expressed intent to no longer receive Invitation emails from the company. Once an invitee has opted-out, they do not receive future emails from the instance (if the company has multiple Medallia Experience Cloud instances). However, depending on how they were opted, they might receive Reminder emails if they have not completed the survey they have opted-out from.
Important: This feature is available upon request. Ask your Medallia expert to file a Feature activation request with Medallia Support.
Important: Invitees opting out of surveys must manually confirm that they want to opt-out of future surveys. This prevents email link scanners from automatically opting them out when email templates are scanned. Note that the Unsubscribe feature is not affected.
Note: All emails sent by Medallia include a List-Unsubscribe header to allow recipients to opt-out in an industry-standard manner. For more information, see RFC 8058.

How opt-outs work for emails

For each company instance, there is a list of criteria that identify the invitees who opted out. The Opt-out Records list is usually based on the Email field (e_email), which is the invitee's email address, though it is also common to use the invitee's phone number.

As the first step in the Sampling process, each invitation is evaluated against the Opt-out rules and then against the records in the Opt-out records list. When the invitation meets a rule condition or is found to be in the list, it is:

  1. Excluded from the further sampling and no email is sent.

  2. The Sampling exclusion reason (a_sampling_result_exclusion_cause) and Sampling exclusion detailed reason (a_sampling_result_exclusion_cause_detail) fields for the record are set with a description of why the email did not pass the opt-out processing.

  3. If the record criteria is not already in the list, the relevant field values are added to the list for future evaluations.

Layer 1 1 2 3 4 5

  1. Raw invitation.

  2. Opt-out rules contain the conditions that evaluate if a record should be opted-out or not.

  3. Invitation excluded as it meets the rule condition(s) to be opted-out (for example, e_email="invitee@example.com").

  4. Opt-out records list contains all records that ever met an Opt-out rule.

  5. Invitation excluded as it was found in the Opt-out records list.

Navigate to the Sampling Field Setups screen and, on the MemberOptOutFields section, shuttle over the fields that store an invitee's opt-out request. Note that the connection between a field and opt-outs persists even after shuttling a field away. The logic statement between assigned fields in MemberOptOutFields is OR. This means that when there are multiple fields, a matched value in ANY field excludes the email. Consider the following example:

  1. MemberOptOutField is Email (e_email).

  2. Invitee receives an email and opt-outs. This is stored in the Opt-out Records list as follows:
    • Field: Email.
    • Value: invitee@example.com.
  3. MemberOptOutField changes to Custom email (e_custom_email), shuttling away Email (e_email). This means that, from now on, invitees' email addresses that opt-out are stored as values of the Custom email field instead of the Email (e_email) field.

  4. An Importer is triggered with a record including this information:
    • Email (e_email): invitee@example.com
    • Custom email (e_custom_email): invitee@medallia.com
  5. Opt-outs evaluate this record against the information on the Opt-Out Records list as follows:
    • Is there a record value for Email (e_email)? Yes.

    • Does this value match any of the existing ones for opt out? Yes, even if Email (e_email) is no longer shuttled over, the value in the list is still considered.

Opting out and reinstating invitees

Invitees can opt out by themselves by clicking an opt-out link on an Invitation or Reminder email (created with the $OPT_OUT_URL$ variable). By clicking the link, the invitee:

  • Stops receiving the Reminder or future Invitation emails.
  • The Survey status ( e_status) of the current survey is marked DELIVERED_NO_REMINDER.
  • Opt-out (e_optout) is set to Yes.

You can manually opt-out an invitee with the Create opt-outs screen. Invitees can also be automatically opted-out in bulk with an import specification (see Bulk loading opt-out records below for details). In either of these scenarios, if an invitee has a pending survey, they may receive reminder emails for that survey.

Usually, invitees are permanently opted-out and can only receive new invitations after they explicitly asked to be reinstated. Invitees can be reinstated manually only by requesting it through Medallia Support; there is no mechanism to automatically opt-in an invitee who has opted out. Companies with specific relationships with their invitee might employ a wave opt-out which applies the restriction for a company-defined period. See Wave-specific opt-outs, below, for details.

Bulk loading opt-out records

To import a large number of opt-outs, use the following Auto Importer processor:

<import-spec name="OptOut All Fields Spec">
    <input-column heading="field" />
    <input-column heading="value" />
    <input-column heading="scope" />
    <output-column-group pluginName="OptOut" recordUpdateMode="CREATE">
        <output-column>
            <input-column heading="field" />
            <target-field fieldId="optout_efield" fieldName="OptOut field" requiredness="REQUIRED" type="ENUMERATED">
                <enumerated-field-parse-options mappingKey="IDENTIFIER" />
            </target-field>
        </output-column>
        <output-column>
            <input-column heading="value" />
            <target-field fieldId="optout_value" fieldName="OptOut value" requiredness="REQUIRED" type="STRING" />
        </output-column>
        <output-column>
            <input-column heading="scope" />
            <target-field fieldId="optout_unitgroup" fieldName="OptOut scope" requiredness="REQUIRED" type="UNIT_GROUP">
                <enumerated-field-parse-options mappingKey="IDENTIFIER" />
            </target-field>
        </output-column>
    </output-column-group>
</import-spec>
Warning: Opt-out processing of TEXT and AUTOINDEX_TEXT data type is case-sensitive. For example, these two ID values are not equal:
qr12mp2
QR12MP2

When using Auto Importer to load opt-out records, ensure the data is processed appropriately. For example, if case-sensitivity is not an issue for the fields, consider transforming the fields to all lower-case during import. Otherwise, verify the fields always use the same case considerations for all import feeds.

This does not affect fields of type EMAIL.

Wave-specific opt-outs

Depending on the industry and applicable country laws, some companies may be able to opt-out invitees for a specific period (a wave), but enable them to again receive invitations in the next wave.

Warning: Before implementing a wave-specific opt-outs, verify that it is permitted by checking with the appropriate legal counsel. There are legal concerns to be reviewed before automatically reinstating invitees who have opted-out. It is more common for wave-specific opt-out processes to be applicable in business-to-business (B2B) operations, which may have less restrictive opt-out requirements under applicable privacy law.
Restriction: The instance can only perform wave-specific opt-outs. If the instance requires opt-outs for additional programs, the instance cannot do wave-specific opt-outs.

Wave-specific opt-outs work by having a single MemberOptOutField (on the Sampling Field Setups screen), and that field value uniquely identifies the invitee for the length of the wave. When an invitee opts-out, that value is permanently recorded in the Opt-out records list, and all future invitations that include this value are excluded. But, when a new wave starts, no new records will match the list until invitees again opt-out.

For example, consider this scenario:

  1. Create an opt-out Event field, such as Opt-out email (e_opt_out_email_txt), whose text value is the concatenation of a "wave identifier" and the invitee's email address, similar to wave2017H2-kirstin@example.com.

  2. For the MemberOptOutFields on the Sampling Field Setups screen, assign the opt-out E-field as the only field.

When the invitee clicks an Opt-out link, the Opt-out email value is recorded in the Opt-out Records list, and the field is set to Yes/True (1) for this record. Future invitation emails that include the opt-out field value are excluded. The Opt-out email field is useful for exports and reports to the company, which might use the information for its own opt-out tracking and reporting.

The field value of this Opt-out email can be created by the company and included in the invitation file, or it can be a transformation in the importer specification. In the import spec, the wave identifier might be hard-coded in the transformation (such as 'wave2017H2'+e_email), or it might be included in the feed from the company (such as 'wave_field+'-'+e_email). Either way there needs to be something that uniquely identifies the invitee for the period of the wave.

Stopping Reminder emails

Setting the Survey status (e_status) to DELIVERED_NO_REMINDER or DELIVERED_AND_REMINDED on any record immediately stops all reminders for that record. Note that once a record is set to either if these states, it cannot be reinstated.

Opt-out tips

  • Creating an opt-out record stops all future Invitation emails for the invitee; however, it does not stop any pending Reminder emails for the invitee.

  • When a invitee clicks the opt-out link on a survey, the Opt-out field (e_optout) in the feedback record is set to 1 to indicate the invitee made the option from the link.

  • Respondents opting out of surveys must manually confirm that they want to opt-out of future surveys. The content in the Opt-out confirmation page is automatically translated, however use the following translation variables if you want to change the existing translations:
    • survey.OPT_OUT_CANCELYou will continue receiving Invitation emails. We apologize for the inconvenience.
    • survey.OPT_OUT_ACCEPT (Button) — Opt out.
    • survey.OPT_OUT_REJECT (Button) — Cancel.
    • survey.OPT_OUT_CONFIRM_DIALOGAre you sure you want to opt out from our invitation email list? By opting out, you will no longer be invited to give feedback.
  • When manually creating an opt-out record from the Create opt-outs screen, no feedback records are altered: the Opt-out field (e_optout) does not change.

  • When multiple opt-out rules applied to one Invitation email (that is, they are true), there is one opt-out record for each rule that was true.

  • For permanently excluding categories of invitees, such as ones from a specific email domain, or IP addresses, you need to create a Sampling filter that meets specific criteria to evaluate the records. This cannot be done using Opt-out rules.

  • Certain devices, browsers, email clients, or operating systems may allow invitees to generate random email aliases (that forward to their primary email address) to keep their personal email address private from an organization. If you are using the Email field to identify invitees who opt-out, and if different email addresses are used for different surveys, it can impact your ability to identify that the surveys are sent for the same invitee.