Tools

Meta Pixel event JSON

Build a Meta Pixel fbq('track') snippet and a JSON body in your browser. Nothing is uploaded.

Snippet plus JSON. Hash emails separately before CAPI user_data.

How to use the Meta Pixel event JSON

  1. Pick an event (Purchase, AddToCart, ViewContent, Lead, PageView).
  2. Fill value, currency, and optional content id.
  3. Copy the fbq line for the browser pixel, and the JSON if you are shaping a CAPI custom_data object.

Pixel vs CAPI

The snippet is what you paste next to fbq('init', …). The JSON is a starting custom_data object — it does not hash emails or send to Graph. Hash user_data on the Meta audience hasher. Event names follow Meta’s standard list on this page.

Nothing is uploaded

Generation is local. You still load the Pixel with your own pixel id.

Meta Pixel event JSON FAQ

Do I put hashes here?

No. Hash emails and phones on the audience tools, then attach user_data in your own call.

PageView parameters?

Often none. Value and content id are omitted when left blank.

Related tools