> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mention-me.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Promote Referral from Dotdigital

> Add a personalised referral CTA link to your Dotdigital emails that sends customers directly to a pre-filled referral landing page.

With the Mention Me integration into Dotdigital, you can insert a CTA link in your emails to direct customers to a referral landing page. This puts your scheme in front of customers who may not have seen it yet, and reminds those who have to share with friends.

The personalised link allows customers to skip the referral registration page, as Dotdigital will insert customer details to pre-populate the referral landing page with their name and email address.

## Prerequisites

* You must have an existing referral landing page on your website with the Mention Me referral tag included.

## Types of emails to consider

* Dedicated referral solus emails (recommended at least once every 2-3 months)
* Inclusion in a newsletter or regular marketing email
* "Always-on" inclusion in all marketing emails (e.g. as a link, icon, or button in the header or footer)
* Referral as a dedicated email in your journey (e.g. new customer/post-purchase, welcome journey)

## How it works

1. You promote your referral program via dedicated emails or a specific campaign and add the personalised landing page link as the CTA.
2. The customer clicks the link and is taken to the landing page.
3. The customer lands on a referral offer page with their personal information from Dotdigital. They are automatically registered when they click the offer button.
4. The customer shares the offer with their friend via their preferred method.

## Adding the personalised landing page link

1. In your campaign promoting referral, add a CTA link/button

<img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/dotdigital/26446847061533.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=d66f0f8c6d45f531bcd389df7e6f0d32" alt="Adding a CTA link in Dotdigital email editor" width="659" height="326" data-path="images/knowledge/esp-crm/dotdigital/26446847061533.png" />

2. In the URL section of the button/link, add in the URL of your landing page with `?` added (e.g. `www.yourwebsite.com/refer-a-friend?`)

<img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/dotdigital/26446862791581.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=af7b31a1eff189dde692ec4eff8ae63e" alt="Adding the referral landing page URL to the CTA" width="3042" height="850" data-path="images/knowledge/esp-crm/dotdigital/26446862791581.png" />

3. Add the following parameters to the end of the URL, separated by `&`:

| Parameter | Value / Variable               | Note                                                                                                                          |
| --------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| firstname | `{{ contact.data.firstname }}` | Use the personalisation attribute you use in Dotdigital for first name.                                                       |
| surname   | `{{ contact.data.lastname }}`  | Use the personalisation attribute you use in Dotdigital for last name.                                                        |
| email     | `{{ contact.data.email }}`     |                                                                                                                               |
| situation | `Dotdigital-newsletter-jan23`  | Indicates where the customer saw the link. Structure: channel-type-date. Provides impact analysis in the Mention Me Platform. |
| segment   | `loyalty`                      | Use if you have multiple campaigns with different segments or locales.                                                        |
| locale    | `en_GB`                        |                                                                                                                               |

### Final example URL

```
https://<yourwebsite.com>/referrals?email={{ contact.data.email }}&surname={{ contact.data.lastname }}&firstname={{ contact.data.firstname }}&situation=Dotdigital-newsletter-jan23&locale=en_GB&segment=loyalty
```

<img src="https://mintcdn.com/mentionme/XuUPZxVPINYKEGlV/images/knowledge/esp-crm/dotdigital/26446862793501.png?fit=max&auto=format&n=XuUPZxVPINYKEGlV&q=85&s=a5c6cd2607b20a094411bf66ca06169f" alt="Final personalised referral URL with parameters in Dotdigital" width="3042" height="850" data-path="images/knowledge/esp-crm/dotdigital/26446862793501.png" />
