lr_px_ followed by 22 characters), from your Lemrock contact.
1. Import the template
- Download the template: gtm-template.tpl.
- In GTM, go to Templates > Tag Templates > New.
- Open the overflow menu (⋮), choose Import, pick the file and save.
2. Load the pixel on every page
Create a tag:
The second trigger matters: without it, a visitor who accepts cookies after landing loses their ad click.
3. Add the event tags
The add to cart (required)
Create a tag:- Fill the fields from your data layer with Data Layer Variables. If your data layer lacks the amount or currency, add them.
- Amount format applies to Amount and to each Contents amount:
- Currency units (default):
25.99for €25.99, as most data layers hold prices. Use a dot, not a comma. - Cents:
2599for €25.99. Also choose Cents for currencies without cents, such as JPY, and enter the price as is. - An amount that doesn’t match the format sends nothing and prints a console warning.
- Currency units (default):
- All amounts are before tax and after discounts, without shipping.
Recommended events
Create one tag per event, like the add-to-cart tag, changing Event, Amount, Contents and the trigger.
For Order created only, fill Event ID with your order number. It makes an order count once, even if it’s reported twice.
4. Add user data (recommended)
Hashed email and phone let Lemrock match a sale when the visitor comes back on another device or browser. Only on the Order created tag, open the User data section and fill Email SHA-256 and Phone SHA-256, usually from Data Layer Variables. Leave a field blank if you don’t have the value. Send hashes only: see Hash email and phone.5. Set up consent
The template has no consent field. Set consent on all Lemrock tags at once: in Tags, tick every Lemrock tag, click the consent (shield) icon, and require:ad_storage, always.ad_user_datatoo, on the Order created tag, if you send user data there (step 4).
6. Check and publish
- Open GTM Preview: the pixel’s debug mode turns on automatically.
- Follow Check your setup, adding an item to the cart.
- Publish the container: Submit > Publish.

