Table of Contents

Sample Javascript to send Next-Best-Actions to the advertising pixel

As part of implementing pixel-based APIs on your website, you must configure an advertising pixel which will trigger when an individual does specific actions on your website. To help you configure the pixel for Next-Best-Actions, you can refer to the following sample Javascript: Sample Paid Web Service Pixel Call for Facebook Ads and Google Ads. The sample contains examples of Facebook- and Google-specific code that you can reference in your own implementation.

The sample code uses the Pega Marketing identity management feature. For more information, see "Identity Management" in the Pega Marketing User Guide on the Pega Marketing product page.

Suggest Edit

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.