Skip to main content
This guide is for the Mention Me dashboard. If you use the Classic dashboard at mention-me.com, follow the Classic landing page guide, which has the right launch steps.
A landing page lets customers engage with your referral programme without requiring a purchase. These steps add the Mention Me referrer offer to its own Shopify page, using a Custom Liquid section on a dedicated page template in the theme editor.
Mention Me referral landing page example

Referral landing page example

The Mention Me offer does not render in the Shopify theme editor, because the editor runs the page inside Shopify Admin, which blocks the offer’s frame. The code below shows a dashed placeholder box in the editor instead, so you can see where the offer will sit. Always test the real offer on the storefront.

Step 1: Create the page template

1

Open the theme editor

In Shopify Admin, go to Online Store > Themes and click Customize on your theme.
2

Create a template

In the page dropdown at the top of the editor, choose Pages, then Create template.
Theme editor page dropdown listing page templates, with Create template highlighted

The page dropdown in the theme editor, with Create template at the bottom of the Pages list.

3

Name it and base it on the default page

Name the template landingpage, set Based on to Default page, then click Create template.
Create a template dialog with Name set to landingpage and Based on set to Default page

The Create a template dialog, with the name landingpage and Based on set to Default page.

Basing the template on Default page gives it a Template area in the sidebar, which is where the Custom Liquid section must go. A template with no main area only shows the Header and Footer groups.

Step 2: Add the Custom Liquid section

1

Add a Custom Liquid section

With the landingpage template open, click Add section under the Template heading in the sidebar, then choose Custom Liquid.
Don’t use Add section under Header. The header group is shared by every page, so the offer would appear across your whole site.
Theme editor sidebar with Add section under Template open and Custom Liquid highlighted in the section list

Adding a section under the Template heading, with Custom Liquid in the section list.

2

Paste in the code with the Demo tag

Paste the code below into the Custom Liquid section and replace INSERT_PARTNERCODE with your partner code. The only difference between the Demo and Live versions is the tag host: tag-demo.mention-me.com for Demo and tag.mention-me.com for Live.
Only use the Demo tag on a staging store, or while you check the page loads and displays the offer correctly. Any page customers can reach on your live store must use the Live tag (tag.mention-me.com), with your programme launched.
Custom Liquid settings panel on the landingpage template showing the start of the pasted code, with the Page section's eye icon crossed out

The landingpage template with the code pasted into Custom Liquid, and the Page section hidden.

3

Hide the Page section

Click the eye icon on the Page section to hide it (or delete the section), unless you want the page title to show above the offer.
4

Save

Click Save. The editor preview shows the dashed placeholder where the offer will render.
Theme editor preview of the landing page with a dashed box reading Mention Me referrer offer renders here on the live page

The theme editor preview, showing the placeholder where the offer renders on the live page.

What the code does

  • The request.design_mode block shows the dashed placeholder only in the theme editor. Customers never see it.
  • #mmWrapper is where the embedded offer renders.
  • For logged-in customers, their email address and name are passed so the referrer is recognised straight away.
  • Everything is wrapped in a function so its variables don’t clash with other scripts on the page.

Step 3: Assign the template to a page

1

Open or create the page

Go to Online Store > Pages and open your referral page, or click Add page to create one (for example, Refer a friend). Leave the content area blank. The template supplies it.
2

Choose the template

In the Template dropdown, choose landingpage.
Shopify page editor for Refer a friend with the Template dropdown open and landingpage selected

Choosing the landingpage template for the Refer a friend page.

3

Save

Click Save. If the page is Visible on your live store, make sure it uses the Live tag and your programme is launched (see Step 5).
Back in the theme editor, the top of the template’s sidebar should now say Assigned to 1 page. If it says 0 pages, the template isn’t linked to a page yet.

Step 4: Test on the storefront

1

Open the page on the storefront

Use the theme editor’s Preview button (the eye icon, top right). To try the template on another page before you assign it, add ?view=landingpage to that page’s URL, for example /pages/contact?view=landingpage.
2

Check the offer renders

Check the referral offer appears where the placeholder was, and looks right.
3

Test as a logged-in customer

Log in as a test customer and reload the page to check the logged-in referrer flow.
4

Check other pages

Open other pages, such as your home page, to make sure the offer only shows on the landing page.

Step 5: Go live

1

Switch to the Live tag

In the theme editor, open the landingpage template’s Custom Liquid section. If you tested with the Demo tag, change only tag-demo.mention-me.com to tag.mention-me.com, keeping your partner code and any locale changes, then click Save. See How to Enable Live Tracking for the rest of your integration.
2

Launch your programme

In Mention Me, open your campaign and click Launch on the version you want to go live. Follow How to Launch a Campaign and Version for the full launch wizard. The Live tag only shows an offer once your programme is live.
3

Test the page again

Repeat the storefront checks in Step 4 and confirm the live referral offer appears and looks right.
4

Share the page

Once the page uses the Live tag and your programme is launched, make sure it is Visible, then link to it from your navigation, emails or social posts so customers can find it.
Last modified on November 18, 2026