1. Load the pixel
Paste this into the<head> of your page template, so it runs on every page. Replace lr_px_... with your pixel ID.
2. Report events
Callmeasure when the event happens, for example on your order confirmation page. The snippet from step 1 must be on that page too.
2599 for €25.99.
3. Add user data (recommended)
Add a hasheduser to init. See Hash email and phone.
init again with just the user.
Only send it for visitors whose consent covers sharing their email or phone with Lemrock for ad measurement.
- User data lasts one page. Send it on every page where you know the visitor and report an event, before the
measurecall. - A new
userreplaces the previous one. Send both identifiers together if you have both.
4. Set up consent
The pixel assumes consent until told otherwise. If your site asks visitors for consent, pass the answer:- Pass
trueorfalse, not a string. Anything other thantruecounts as a refusal, including"true". - The refusal is remembered, so you don’t need to repeat the call on every page.
- If your consent banner blocks scripts until the visitor answers, block the Lemrock snippet too.

