Открытые члены | |
__construct (?array $params=null) | |
setActionSource (?string $action=self::ACTION_SOURCE_WEBSITE) | |
setTime (?int $timeStamp) | |
setDynamicAdsOption (?bool $option=false) | |
setEventType (string $type) | |
setSource (string $source) | |
setUserData (UserData $userData) | |
setCustomData (CustomData $data) | |
validate () | |
prepareData () | |
Открытые статические члены | |
static | getEventTypeList () |
static | getActionSourceList () |
Открытые атрибуты | |
const | ACTION_SOURCE_EMAIL = 'email' |
const | ACTION_SOURCE_WEBSITE = 'website' |
const | ACTION_SOURCE_APP = 'app' |
const | ACTION_SOURCE_PHONE_CALL = 'phone_call' |
const | ACTION_SOURCE_CHAT = 'chat' |
const | ACTION_SOURCE_PHYSICAL_STORE = 'physical_store' |
const | ACTION_SOURCE_SYSTEM_GENERATED = 'system_generated' |
const | ACTION_SOURCE_OTHER = 'other' |
const | EVENT_ADD_PAYMENT = 'AddPaymentInfo' |
const | EVENT_ADD_TO_CART = 'AddToCart' |
const | EVENT_ADD_TO_WISH_LIST = 'AddToWishlist' |
const | EVENT_COMPLETE_REGISTRATION = 'CompleteRegistration' |
const | EVENT_CONTACT = 'Contact' |
const | EVENT_DONATE = 'CustomizeProduct' |
const | EVENT_FIND_LOCATION = 'FindLocation' |
const | EVENT_INITIATE_CHECKOUT = 'InitiateCheckout' |
const | EVENT_LEAD = 'Lead' |
const | EVENT_PAGE_VIEW = 'PageView' |
const | EVENT_PURCHASE = 'Purchase' |
const | EVENT_SEARCH = 'Search' |
const | EVENT_START_TRIAL = 'StartTrial' |
const | EVENT_SUBMIT_APPLICATION = 'SubmitApplication' |
const | EVENT_SUBSCRIBE = 'Subscribe' |
const | EVENT_VIEW_CONTENT = 'ViewContent' |
__construct | ( | ?array | $params = null | ) |
setActionSource | ( | ?string | $action = self::ACTION_SOURCE_WEBSITE | ) |
$action |
setCustomData | ( | CustomData | $data | ) |
CustomData | $data |
setDynamicAdsOption | ( | ?bool | $option = false | ) |
docs: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event#opt-out
bool | $option |
setEventType | ( | string | $type | ) |
string | $type |
setSource | ( | string | $source | ) |
string | null | $source |
setTime | ( | ?int | $timeStamp | ) |
int | null | $timeStamp |
setUserData | ( | UserData | $userData | ) |
docs: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event#user-data
UserData | $userData |
validate | ( | ) |
const ACTION_SOURCE_SYSTEM_GENERATED = 'system_generated' |
const EVENT_COMPLETE_REGISTRATION = 'CompleteRegistration' |