This module provides integration with the Pendo.io service.

Overview

By default, the module will collect the following information and send it to pendo:

  • Application UUID
  • User UUID
  • User Email

Installation

  • Enable the module
  • Set the API Key at /admin/config/services/pendo
  • Clear caches

Extending

You can easily add, modify, or remove the data that is sent to Pendo by modifying the drupalSettings object via hook_preprocess_html():

/**
 * Implements hook_preprocess_HOOK().
 */
function mymodule_preprocess_html(&$variables) {
  $variables['#attached']['drupalSettings']['pendo']['data']['visitor']['foo'] = 'bar'; 
  $variables['#attached']['drupalSettings']['pendo']['data']['account']['foo'] = 'bar';
}

The `visitor` and `account` objects are sent directly to Pendo. Apart from a handful of reserved keys, you can add any key value pair you'd like to those two objects.

Supporting organizations: 

Project information

Releases