3namespace Bitrix\Seo\BusinessSuite;
6use Bitrix\Seo\Retargeting;
7use Bitrix\Seo\Conversion\Facebook\Event;
8use Bitrix\Seo\BusinessSuite\Configuration\Facebook;
9use Bitrix\Seo\Conversion\ConversionEventInterface;
20 return array_filter(array_map(
22 return $item instanceof
Event && $item->validate()? $item->prepareData() :
null;
37 if($facade->isInstalled() && !empty($events = $this->
getData($events)))
41 'methodName' => $this->
getMethodName(
'conversion.event.fire'),
42 'parameters' => array_filter([
44 'business_manager_id' => $facade->getCurrentInstalls()->getBusinessManager(),
45 'pixel_id' => $facade->getCurrentInstalls()->getPixel(),
46 'test_code' =>
Config\Option::get(
'seo',
'facebook_conversion_test_code',
null),
getMethodName(string $name)
fireEvents(array $events)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)