A landing page lets customers engage with your referral program without requiring a purchase.
Creating a landing page
Create a new page
Log in to your Shopify admin, navigate to Pages, and create a new page (e.g., Referral Landing Page). You may set it as Hidden initially.
Add the referral code
Open the code editor and paste the following in HTML mode:
<div id="mmWrapper"></div>
<script>
var partnerCode = "INSERT_PARTNERCODE";
var urlComponents = [
"https://tag.mention-me.com/api/v2/referreroffer/",
partnerCode
];
var queryComponents = [
["situation", "landingpage"],
["locale", Shopify.locale + "_" + Shopify.country]
];
queryComponents = queryComponents.map(qc => qc[0] + "=" + encodeURIComponent(qc[1]));
var url = urlComponents.join("") + "?" + queryComponents.join("&");
var script = document.createElement("script");
script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
</script>
Replace INSERT_PARTNERCODE with your actual partner code. For locale configuration, see Shopify: Locales. Last modified on July 3, 2026