Send feedback

Events

Use the standard names where they fit: your campaign counts them, and each moves a visit along the funnel.

Standard events#

NameWhat it isFunnel step
page_viewA page seenArrived (a second page: looked around)
view_contentA product or offer looked at (with the product, as items)Looked around
searchA search on the site (with what was searched for, as query)Looked around
form_startA form begunBegan a form or a basket
leadA form sent, a demo or a call-back asked forLead or contact
contactA WhatsApp chat, a call or an email begunLead or contact
sign_upAn account madeSigned up
add_to_cartSomething put in the basketBegan a form or a basket
begin_checkoutCheckout begunBegan checkout
purchaseA sale (with its value, order_id and items)Bought, deposited or subscribed
first_depositA first deposit into a new account (with its value)Bought, deposited or subscribed
subscribeA subscription begunBought, deposited or subscribed
app_installThe app installedSigned up
video_progressHow far into a video someone watched (video, percent, seconds; sent by itself for any video played on the page)

page_view, form_start, lead (from a form marked data-optiq="lead") and contact are sent by the snippet and the SDK by themselves.

Fields on every event#

FieldTypeDescription
namerequiredstringLower-case letters, digits and _, up to 40: a standard name or your own.
event_idstringYour id for it, up to 100. A repeat with the same id counts once. Made for you when left out.
occurred_atISO 8601When it happened. From a browser, within the last day; from a server, within 90 days. Default: now.
valuenumberA sale's or deposit's amount.
currencystringThree letters: GMD, USD, EUR and so on.
email / phonestringWho. Hashed before it is sent (by the SDK) or on arrival (by the API); never kept as written.
person_hashstringWho, already hashed: SHA-256 of the trimmed, lower-case email, or of the phone's digits.
person_kindstringemail or phone: what person_hash is of, so Meta and TikTok match it. Default email.
itemsItem[]What was viewed, put in the basket or bought: up to 50, each with an id, and its name, category, brand, variant, price and quantity.
visitor_idstringThe browser's visitor id, when a server knows it.
propertiesobjectUp to 30 of your own: short strings (300 characters), numbers or true and false.
consentstringgranted, denied or unknown. Denied keeps nothing that tells one person from another.
Note: Properties named like an email, phone, password, card, IBAN or passport are dropped, whatever they hold.

Your own events#

Any other lower-case name is kept too (for example quote_requested or loan_approved) and shown on the Developer page with its touches. Campaign results count the standard names, so use one wherever it fits.

Last updated 2026-11-04 UTC. The SDK is open source under the MIT licence. Tell us what is missing.