Skip to main content

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.

What is the conversion message used for?

The conversion message embeds a banner on pages of your website (generally the homepage and/or product pages) which is only shown in these cases:

Mention Me Refer

Shown to referred friends that have a reward but have not purchased yet. The purpose of the message is to remind them of their reward and encourage them to go on to purchase.

Mention Me Retain

Shown to customers who have been given an incentive to take an action. The purpose of the message is to remind incented customers of their reward and encourage them to take action.

How to integrate the conversion message

1

Add the wrapper div

Include the following <div> into your page where you want the content to appear.
<!-- Begin Mention Me conversion message placeholder div -->
<div id="mmWrapper"></div>
<!-- End Mention Me conversion message placeholder div -->
2

Add the JavaScript tag

Include the following JavaScript snippet at the bottom of the <body> tag on a landing page or information page. The request includes your unique partner code.
<!-- Begin Mention Me conversion message integration -->
<script
  type="text/javascript"
  src="https://tag-demo.mention-me.com/api/v2/conversionmessage/YOUR_PARTNER_CODE?situation=homepage&locale=en_GB"
></script>
<!-- End Mention Me conversion message integration -->
3

Customise the parameters

(Optional) Include data parameters passing the customer’s details if you have them at the point in the process where you insert the tag — this makes the process smoother for the customer.

Mandatory data parameters

situation
string
required
String indicator of where you are including this tag within your site (for example: homepage). Used for reporting. Has a maximum of 50 characters. Example: homepage
locale
string
required
String representing the required locale for the campaign. Used to show the right locale (language, currency) for the user. The format should be ISO 639-1 language code, an underscore (_), then the ISO 3166-1 alpha-2 country code (e.g. fr_FR for French/France). Default is empty (which will result in a locale of en_GB being assumed). Example: en_GB
firstname
string
The customer’s firstname. Please URL encode.
surname
string
The customer’s surname. Please URL encode.
fullname
string
The customer’s full name. Please URL encode.
email
string
The customer’s email address. Please URL encode.
customer_id
string
The unique customer identifier from your system.
phone_number
string
The customer’s phone number(s). Pass as many phone numbers as you have as a comma-separated list. If you are passing any data which is not a digit (e.g. spaces, +‘s), these need to be URL encoded.
call_to_action_url
string
A URL to send users to after they are rewarded. Only functions on the embedded flow.
segment
string
String representing a customer segment (for example one of: men, women) used to pass segmentation data about your customer to us. Has a maximum of 50 characters.
implementation
string
Optionally override the way the flow is implemented (one of: link, form, embed). Default can also be set in the merchant dashboard. If in doubt, leave out.
Last modified on April 17, 2026