- Модуль: seo
- Путь к файлу: ~/bitrix/modules/seo/lib/conversion/facebook/event.php
- Класс: BitrixSeoConversionFacebookEvent
- Вызов: Event::prepareData
public function prepareData() : array
{
[$userData, $customData] = [$this->getParameter('user_data'), $this->getParameter('custom_data')];
return array_filter([
'action_source' => $this->getParameter('action_source'),
'custom_data' => $customData->toArray(),
'user_data' => $userData->toArray(),
'event_source_url' => $this->getParameter('event_source_url'),
'event_name' => $this->getParameter('event_name'),
'opt_out' => $this->getParameter('opt_out'),
'event_time' => $this->getParameter('event_time')
]);
}