Skip to main content
Your backend can send the same events as the pixel. Use the server API for order_created alongside the pixel: it survives ad blockers and only reports orders your payment provider actually captured. Ask your Lemrock contact for an API key.
  • One event per request. Required: event_id, event_type, event_time_ms and data. data takes the same event fields as the pixel.
  • event_time_ms is Unix milliseconds, as a number, within the last 90 days.
  • Store lrclid yourself. Visitors from a Lemrock ad land with ?lrclid=lr_clk_... in the URL. Save it with the session or customer and attach it to the order. Without it, the event needs a hashed email or phone in user.
  • Use the same event_id as the pixel, so the order counts once.
  • Only send events for visitors whose consent you hold.
  • validate_only: true checks the event without recording it.