Event fields
All amounts are before tax and after discounts, without shipping.
event_id
Your own ID for the event, such as the order number. If the same order is reported twice (a retry, or pixel and server), the same event_id makes it count once. If you leave it out, the pixel creates one.
It must be a string: "12345", not 12345. Otherwise the event is not sent.
Hash email and phone
Send hashes only, never the raw values. Lemrock refuses anything that isn’t a SHA-256 hash.- Normalize:
- Email: trim spaces, lowercase.
Jane.Doe@Example.com→jane.doe@example.com. - Phone: digits only, starting with the country code, no
+or leading zeroes.+33 6 12 34 56 78→33612345678.
- Email: trim spaces, lowercase.
- Hash with SHA-256 and send 64 lowercase hex characters.
jane.doe@example.com→86e0b9e56c17cc4d12387e1949b85053fbe73bc3ce5a1188713a9d300cc6133d.
Content Security Policy
If your site sends a Content Security Policy (CSP), allow two Lemrock domains in it, or the browser blocks the pixel.Check your setup
Run this test in a private browsing window.-
Turn on debug mode. With GTM, it’s on automatically in Preview. With a script, add
debug: truetoinit. Pixel messages start with[Lemrock Pixel]in the browser console. On Shopify, follow Check your setup on Shopify instead. -
Simulate an ad click. Open any page with
?lrclid=lr_clk_0000000000000000000000added, then accept your cookie banner. The console confirms the click token is stored. -
Send a test event from the console. It’s checked but not recorded:
You should see
items_added test-1 sent (validate_only) → 202. -
Add an item to the cart and check the same line appears without
(validate_only). If you send the recommended events, each one prints its own line too.
- Read the console. Setup mistakes always print a warning, even without debug mode, except when a Content Security Policy blocks a script install.
- Make sure your redirects keep
lrclidin the URL.

