1 min read

Events

Last Updated - Platform v23.1

User

We do not track the user with Facebook.

Events

A small set of poq events are forwarded to Facebook using Facebook specific event names. Only those sent to Facebook are documented below.

Parameters written as ... are sent as the defaults for the poq event without modification. Events without ... and no parameters are sent with no parameters.

Cart

The addToBag event is replaced to track as the Facebook specific event.

fb_mobile_add_to_cart:
fb_content_type: 'product'
fb_content_id: variant_id
fb_description: product_name # Replaces 'productTitle'
fb_currency: currency # Replaces 'currency'
_valueToSum: product_price # Attached to the event using specific API.
...

Catalogue

The viewSearchResults event is replaced to track as the Facebook specific events.

fb_mobile_search:
fb_content_type: 'product'
fb_search_string: search_query # Replaces 'query'
fb_success: any_products? # Replaces 'result'
...

The viewPdp event is replaced to track as the Facebook specific events.

fb_mobile_content_view:
fb_content_type: 'product'
fb_content_id: listing_id
fb_description: product_name # Replaces 'productTitle'
fb_currency: currency # Replaces 'currency'
_valueToSum: product_price # Attached to the event using specific API.
...

Checkout

The beginCheckout event is replaced to track as the Facebook specific event.

fb_mobile_initiated_checkout:
fb_content_type: 'product'
fb_content: # Replaces 'items' and sent as json
- id: sku
description: product_name
price: price
quantity: quantity
- ...
fb_num_items: quantity # Replaces 'quantity'
fb_currency: currency # Replaces 'currency'
fb_payment_info_available: 0 # Always '0' (no)
_valueToSum: total # Attached to the event using specific API.
...

The order event is replaced to track as the Facebook specific event.

fb_mobile_purchase:
fb_content_type: 'product'
fb_content: # Replaces 'items' and sent as json
- id: sku
description: product_name
price: price
quantity: quantity
- ...
fb_num_items: quantity # Replaces 'quantity'
fb_currency: currency # Replaces 'currency'
_valueToSum: total # Attached to the event using specific API.
...

Content

The onboarding event is replaced to track as the Facebook specific events. Parameters are not sent with this event.

# When the user completes onboarding without skipping.
fb_mobile_tutorial_completion:

Wishlist

The addToWishlist event is replaced to track as the Facebook specific events.

fb_mobile_add_to_wishlist:
fb_content_type: 'product'
fb_content_id: listing_id
fb_description: product_name # Replaces 'productTitle'
fb_currency: currency # Replaces 'currency'
_valueToSum: product_price # Attached to the event using specific API.
...