ember-cli-pendo
v1.0.0
Published
ember-cli-addon for pendo.
Downloads
41
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);