ember-cli-pendo

ember-cli-addon for pendo.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ember-cli-pendo
1.0.05 years ago7 years agoMinified + gzip package size for ember-cli-pendo in KB

Readme

Ember-cli-pendo
Add pendo to your application.

Installation

ember install ember-cli-pendo

Usage

Configure your Pendo API key in environment.js
// environment.js
ENV['ember-cli-pendo'] = {
  apiKey: 'abc-123'
};

The Pendo JavaScript API is now available globally at window.pendo
For example,
const data = {
  visitor: {
    id: user.get('id'),
    email: user.get('email')
  },
  account: {
    id: account.get('id')
  }
};
window.pendo.initialize(data);