Skip to main content
This guide covers deploying the Referrer tag on SAP Commerce Cloud (formerly Hybris), on both storefront architectures.
1

Locate the order confirmation component

In a Spartacus storefront the order confirmation page is rendered by the OrderConfirmationModule (typically order-confirmation-thank-you-message.component.ts / its CMS-mapped component). If you’ve customised checkout, confirm which component renders the confirmation route in your app.
2

Add the wrapper div

Extend or override the confirmation component’s template to include:
3

Inject the tag with order data

In the component’s TypeScript, once the Order object resolves (from OrderFacade/CheckoutService), dynamically inject the script tag with the order details populated:
Map <INSERT_*> placeholders to fields on the resolved Order (e.g. order.deliveryAddress.firstName, order.code, order.totalPrice.value, order.totalPrice.currencyIso), URL-encoding each value.
Always URL-encode dynamic values and test against tag-demo.mention-me.com before switching to the live tag.mention-me.com host.
Full mandatory and optional parameter reference is on the Referrer tag page.

Troubleshooting

In Spartacus, ensure you’re subscribing to the resolved Order observable rather than reading a snapshot before checkout completes. In Accelerator, confirm orderData is populated in the model before the JSP renders (check your controller/facade).
Last modified on July 17, 2026