LinkedIn
Copied!

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 and Pega Customer Decision Hub identity management feature. For more information, see the Pega Marketing or Pega Customer Decision Hub User Guide.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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