public static function PixelScriptBuilder::getPixelAddToCartCode in Official Facebook Pixel 8
Same name and namespace in other branches
- 7 src/PixelScriptBuilder.php \Drupal\official_facebook_pixel\PixelScriptBuilder::getPixelAddToCartCode()
Gets FB pixel AddToCart code
File
- src/
PixelScriptBuilder.php, line 179 - Contains \Drupal\official_facebook_pixel\PixelScriptBuilder.
Class
- PixelScriptBuilder
- Pixel object
Namespace
Drupal\official_facebook_pixelCode
public static function getPixelAddToCartCode($param = array(), $tracking_name = '', $with_script_tag = true) {
return self::getPixelTrackCode(self::ADDTOCART, $param, $tracking_name, $with_script_tag);
}