You are here

public static function PixelScriptBuilder::getPixelPageViewCode in Official Facebook Pixel 8

Same name and namespace in other branches
  1. 7 src/PixelScriptBuilder.php \Drupal\official_facebook_pixel\PixelScriptBuilder::getPixelPageViewCode()

Gets FB pixel PageView code

1 call to PixelScriptBuilder::getPixelPageViewCode()
OfficialFacebookPixelInjection::injectScriptCode in src/OfficialFacebookPixelInjection.php

File

src/PixelScriptBuilder.php, line 212
Contains \Drupal\official_facebook_pixel\PixelScriptBuilder.

Class

PixelScriptBuilder
Pixel object

Namespace

Drupal\official_facebook_pixel

Code

public static function getPixelPageViewCode($param = array(), $tracking_name = '', $with_script_tag = true) {
  return self::getPixelTrackCode(self::PAGEVIEW, $param, $tracking_name, $with_script_tag);
}