You are here

public static function PixelScriptBuilder::getPixelLeadCode in Official Facebook Pixel 7

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

Gets FB pixel Lead code

File

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

Class

PixelScriptBuilder
Pixel object

Namespace

Drupal\official_facebook_pixel

Code

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