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 landing page used for?
When promoting your refer-a-friend programme, you are likely to want to lead your customers to landing pages on your site which include various pieces of Mention Me functionality. If you send out emails with a referral call to action you can direct your customers to a landing page on your own site. Create that page and embed on it a referrer offer tag. Unlike the referrer tag, the landing page tag does not require customer or order details — making it suitable for standalone promotional pages, email links, or social campaigns.How to integrate the landing page tag
Create a new page on your website
Create a dedicated page on your site where customers will land when they click a referral promotion link (e.g. from an email or social post).
Add the wrapper div
Include the following This is just a placeholder which is populated via the JavaScript tag. You can optionally apply a class or style to the div, via the Mention Me dashboard, if you wish to control the way the contents are styled. If you need to change the id on the wrapper (for example if you need two tags on one page), you can customise from within the Mention Me dashboard.
<div> into your page where you want the referral content to appear.Add the JavaScript tag
Include the following JavaScript snippet at the bottom of the
<body> tag on your landing page. The request includes your unique partner code.Mandatory data parameters
String indicator of where you are including this tag within your site. For landing pages, use
landingpage. Has a maximum of 50 characters. Example: landingpageString 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. Default is empty (which will result in a locale of en_GB being assumed). Example: en_GBOptional data parameters
Optional data parameters
The customer’s title. This allows you to have more formal messaging in your flow. Has a maximum of 20 characters.
The customer’s firstname. Pre-fills the form if provided. Please URL encode.
The customer’s surname. Please URL encode.
The customer’s full name. Please URL encode.
The customer’s email address. Please URL encode.
The unique customer identifier from your system.
The customer’s username. Your account is set up for referrers to share using their username not full name. Please URL encode.
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.
Any piece of custom data you wish to pass to us.
A piece of text you can use to pass into sharing widgets, such as what the user bought or how much they saved.
A URL to send users to after they are rewarded. Only functions on the embedded flow.
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.
Optional implementation parameters
Optional implementation parameters
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.