Skip to main content

How Does Global-e Integrate with Websites?

Using Global-e as your checkout provider means your brand hosts specific pages (such as checkout or order confirmation) that contain a Global-e iframe. You cannot modify this iframe or use unsupported variables, but you can hook into Global-e functionality using their API to integrate Mention Me. Only the Referrer tag is added for your Global-e checkout. The referee tag should be added directly to your cart or basket page.

Implementing the Referrer Tag

This tag collects customer information and serves referral offers post-purchase.
1

Add the Tag

Paste the following script on the page containing your Global-e iframe:
2

Add Partner Code and Locale

  • Replace <PARTNER-CODE> with your Mention Me Partner Code (ask your Client Manager).
  • Set the locale:
3

Update Demo to Live URL

  • Use tag-demo.mention-me.com when testing.
  • Switch to tag.mention-me.com for live use.
The live tag URL is disabled by default. Activate it via your Client Manager before customer-facing use. You can preview functionality using the Debug Tool.

Additional Help

Required Mention Me variables: Mention Me Referrer Parameters Global-e variables: Full Global-e variable list

Referrer Tag in Global-e + Shopify

If using Shopify with Global-e, locate your globale-tracking.liquid snippet. It should include the following inside the OnCheckoutStepLoaded callback:
Ensure you:
  • Only run the tag when data.StepId == data.Steps.CONFIRMATION and data.IsSuccess is true.
  • Include your Partner Code and a valid locale.
Shopify globale-tracking.liquid snippet with Mention Me referrer tag

The globale-tracking.liquid snippet with the Mention Me referrer tag added.

Include this in theme.liquid to load the Global-e script at checkout:
This should go inside the <head> tag in your layout.
Shopify theme.liquid include for globale-tracking snippet

The theme.liquid include for the globale-tracking snippet.

Implementing the Referee Tag

Add the referee tag outside of the Global-e checkout (such as on the cart or side cart) so users can enter who referred them. The referee tag cannot be used within the Global-e checkout environmentdirectly.
Last modified on July 15, 2026