DOI consent templates

You can configure Double opt-in (DOI) templates for email and SMS related to consents. This page gives instructions on all available DOI consent templates.

Template variables

Variable Description

{{user.email}}

The user’s email address.

{{user.lang}}

The default language for the user.

{{user.given_name}}

The user’s given name (first name).

example

Nicole Dubois

{{user.family_name}}

The user’s family name (last name, surname).

example

Nicole Dubois

{{rejectUrl}}

The URL to reject opting into the consent.

{{acceptUrl}}

The URL to accept opting into the consent.

{{consentTitle}}

The title of the consent.

{{consentDescription}}

The description of the consent.

Configure double opt-in email template

The Double opt-in email template allows you to send a tailored message via email to users who are wanting to confirm their opting into a consent by clicking a confirmation link.

To configure this template via the ReachFive Console:

Expand to see the steps in the ReachFive Console

double opt in email

  1. Go to Settings  Consents  Double opt-in email template.

  2. Click Enabled to enable the template.

  3. Under From, enter the sender email address.

  4. Under Subject, write an appropriate subject for the confirmation template.

    Example subject
    Confirmation for {{consentTitle}} {{consentDescription}} (1)
    1 The variables shown here are explained above.
  5. Under Redirect to, enter the URL where you want the user to go after confirming the opt-in.

  6. Enter the Link Lifetime. This is in seconds for how long the link is valid.

  7. Finally, enter the message you want the user to see in the confirmation email.

    Example message
    Hi {{user.given_name}}! Thanks for signing up to our groovy newsletter. (1)
    
    We want to make sure it was you and you're still sure about it.
    
    To confirm that you definitely signed up for {{consentTitle}}, click {{acceptUrl}}. (1)
    
    If it wasn't you or if you've changed your mind (sad face), click {{rejectUrl}}. (1)
    
    Thanks a mill,
    
    The Offical Consent Checker Dude
    1 The variables shown here are explained above.
  8. Don’t forget to Save your input.

Configure double opt-in SMS template

The Double opt-in SMS template allows you to send a tailored message via SMS to users who are wanting to confirm their opting into a consent by clicking a confirmation link.

To configure this template via the ReachFive Console:

Expand to see the steps in the ReachFive Console

double opt in sms

  1. Go to Settings  Consents  Double opt-in sms template.

  2. Click Enabled to enable the template.

  3. Under Redirect to, enter the URL where you want the user to go after confirming the opt-in.

  4. Enter the Link Lifetime. This is in seconds for how long the link is valid.

  5. Finally, enter the message you want the user to see in the confirmation SMS.

    Example message
    Hi {{user.given_name}}! Thanks for signing up to our groovy newsletter. To confirm that you definitely signed up for {{consentTitle}}, click {{acceptUrl}}.
    
    If it wasn't you or if you've changed your mind (sad face), click {{rejectUrl}}. (1)
    1 The variables shown here are explained above.
  6. Don’t forget to Save your input.