Callbacks

Callbacks enable custom functionality such as:

  • Integrating with custom vendors that use tag-based integrations on your website

  • Ingesting data from the dataLayer

  • Creating custom logic or functionality

Two Ways To Implement Callbacks

JavaScript

pi('oncomplete', function(survey) {
     ... your callback code here ...
  });

In Console

You can manage callback code in Console, described in more detail here.

Callback Types

Last updated