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.

Overview

The order tracking tag captures conversion data when a customer completes a purchase. Place it on your order confirmation page alongside the referrer tag, or use it standalone if you only need conversion tracking without the referral overlay.

Integration

Add this snippet to the bottom of the <body> tag on your order confirmation page:
<!-- Begin Mention Me order tracking integration -->
<script type="text/javascript"
  src="https://tag-demo.mention-me.com/api/v2/order/YOUR_PARTNER_CODE?email=<INSERT_EMAIL>&order_number=<INSERT_ORDER_NUMBER>&order_subtotal=<INSERT_ORDER_SUBTOTAL>&order_currency=<INSERT_ORDER_CURRENCY>&coupon_code=<INSERT_COUPON_CODE>">
</script>
<!-- End Mention Me order tracking integration -->

Parameters

Both the JavaScript tag and the tracking pixel accept the same parameters.

Mandatory

email
string
required
The customer’s email address. Please URL encode. Example: doreen@example.com
order_number
string
required
The unique order identifier from your system. Has a maximum of 50 characters. Example: ORD-12345
order_subtotal
string
required
The order subtotal (excluding VAT/taxes and shipping) in the currency indicated by the order_currency parameter. If you can’t remove VAT, let us know. Example: 49.99
order_currency
string
required
The three character (ISO 4217) currency code that the order total is in. Example: GBP
coupon_code
string
required
The coupon code used by the customer (if any). Example: SAVE10
customer_id
string
The unique customer identifier from your system. Example: CUST-789
order_item_count
string
The number of items in the basket (if applicable). This helps us understand the type of purchase and can be a signal of advocacy. Example: 3
order_discount_amount
string
The discount amount — our assumption is this has already been taken off the order subtotal provided. This allows us to calculate the Cost Per Acquisition for referral. Example: 5.00
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. Example: vip
order_is_subscription
string
Whether this order is for a subscription (recurring). This helps us qualify and categorise the revenue. Example: true
order_is_gift
string
Whether this order is a gift (being bought for someone else). Gifts can be signals of advocacy. Example: false
custom_field
string
Any piece of custom data you wish to pass to us.
address_line1
string
The customer’s address line 1 (if known).
address_line2
string
The customer’s address line 2 (if known).
address_city
string
The customer’s address city (if known).
address_county
string
The customer’s address county (if known).
address_postcode
string
The customer’s address postcode (if known).
address_country
string
The customer’s address country (if known).
custom_share_field
string
A piece of text you can use to pass into sharing widgets, such as what the user bought or how much they saved.
order_date
string
The date and time the order was placed. The format must be in ISO 8601 format and URL encoded. If not provided or invalid, we will use the date and time at the point we received the tag.
mm_encrypted
string
In some cases it may be desirable to ensure that email addresses and other information is not in clear text. See encrypted parameters.
locale
string
Locale code (e.g. en_GB).

Verb Aliases in the URL

The verb in the URL path (order) can be replaced with booking, signup, or transaction, matching whichever term best describes the action on your site. All four verbs behave identically. The same applies to the pixel form: orderpixel can be replaced with bookingpixel, signuppixel, or transactionpixel. Each pixel verb still ends with /pixel.gif. For example, a signup pixel would look like:
<img src="https://tag.mention-me.com/api/v2/signuppixel/YOUR_PARTNER_CODE/pixel.gif?email=<INSERT_EMAIL>&signup_number=<INSERT_SIGNUP_NUMBER>&transaction_subtotal=<INSERT_TRANSACTION_SUBTOTAL>&transaction_currency=<INSERT_TRANSACTION_CURRENCY>"
  width="1" height="1" style="display:none" />

Parameter Aliases for Non-Ecommerce

If your business tracks bookings or signups rather than orders, you can use alternative parameter names. The tag behaviour is identical — only the parameter names differ.
booking_number
string
Alias for order_number.
booking_subtotal
string
Alias for order_subtotal.
booking_currency
string
Alias for order_currency.
booking_date
string
Alias for order_date.
booking_item_count
string
Alias for order_item_count.
booking_is_subscription
string
Alias for order_is_subscription.
booking_is_gift
string
Alias for order_is_gift.
booking_discount_amount
string
Alias for order_discount_amount.
signup_number
string
Alias for order_number.
transaction_subtotal
string
Alias for order_subtotal.
transaction_currency
string
Alias for order_currency.
signup_date
string
Alias for order_date.
transaction_item_count
string
Alias for order_item_count.
transaction_is_subscription
string
Alias for order_is_subscription.
transaction_is_gift
string
Alias for order_is_gift.
signup_discount_amount
string
Alias for order_discount_amount.
Last modified on April 17, 2026