Skip to main content
Affise MMP - Facebook events matching
Daria Mamchenkova avatar
Written by Daria Mamchenkova
Updated over 3 months ago

Before you begin


Affise MMP - Facebook events

To be displayed in statistics for events:

  • Purchase

  • Sales

  • TravelBooking

  • InitialSubscription

it's recommended to add the following parameters:

  • PredefinedFloat.REVENUE

  • PredefinedString.CURRENCY

for example:

PurchaseEvent(userData = "apple").apply {

addPredefinedParameter(PredefinedString.ORDER_ID, "23123")

addPredefinedParameter(PredefinedString.CURRENCY, "USD")

addPredefinedParameter(PredefinedFloat.REVENUE, 2.19f)

}

Parameters to send events to Facebook

Facebook event

Facebook object properties

Affise Event Name

Affise MMP SDK Parameters

AddPaymentInfo

content_category

content_ids

contents

currency

value

AddPaymentInfo

PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE

AddToCart

content_ids

content_name

content_type

contents

currency

value

AddToCart

PredefinedListString.CONTENT_IDS PredefinedString.CONTENT_ID PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE

AddToWishlist

content_name

content_category

content_ids

contents

currency

value

AddToWishlist

PredefinedString.CONTENT_ID PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE

CompleteRegistration

content_name

currency

status

value

CompleteRegistration

PredefinedString.CONTENT_ID PredefinedString.CURRENCY PredefinedString.STATUS PredefinedFloat.PRICE

InitiateCheckout

content_category

content_ids

contents

currency

num_items

value

InitiateCheckout

PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedLong.QUANTITY PredefinedFloat.PRICE

Lead

content_category

content_name

currency

value

Lead

PredefinedString.PARAM_01 PredefinedString.CONTENT_ID PredefinedString.CURRENCY PredefinedFloat.PRICE

Purchase

content_ids

content_name

content_type

contents

currency

num_items

value

⚠️ All these parameters are required.

Purchase

PredefinedListString.CONTENT_IDS PredefinedString.CONTENT_ID PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedLong.QUANTITY PredefinedFloat.PRICE

Search

content_category

content_ids

content_type

contents

currency

search_string

value

Search

PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedLong.SEARCH_STRING PredefinedFloat.PRICE

StartTrial

currency

predicted_ltv

value

StartTrial

PredefinedString.CURRENCY PredefinedLong.PREFERRED_PRICE_RANGE PredefinedFloat.PRICE

Subscribe

currency

predicted_ltv

value

Subscribe

PredefinedString.CURRENCY PredefinedLong.PREFERRED_PRICE_RANGE PredefinedFloat.PRICE

ViewContent

content_ids

content_category

content_name

content_type

contents

currency

value

ViewContent

PredefinedListString.CONTENT_IDS PredefinedString.PARAM_01 PredefinedString.CONTENT_ID PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?