Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-appcues

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-appcues

Ember addon to easily add Appcues to your app.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-appcues

Easily add Appcues to your Ember app.

Installation

Please install this addon into your Ember.js project using ember-cli:

ember install ember-cli-appcues

Configuration

Configure your AppCues App ID:

Add your Appcues App ID into your config/environment.js file:

ENV['ember-cli-appcues'] = {
  accountId: '[YOUR_ACCOUNT_ID]',
  lazyLoad: true
};
  • lazyLoad: wait for the first call to Appcues to load its library.

This addon will automatically call Appcues.page() for each transitions as long as identify or anonymous was first called.

Appcues service

This service exposes some of the AppCues Javascript API.

  • Check if anonymous or identify was called.
  this.get('appcues').isSessionCreated()
  • Appcues.identify(userId, userProperties = {})
  this.get('appcues').identify(userId, userProperties)
  • Appcues.anonymous()
  this.get('appcues').anonymous()
  • Appcues.page()
  this.get('appcues').page()
  • Appcues.track(eventName, eventProperties)
  this.get('appcues').track(eventName, eventProperties)
  • Appcues.show(contentId)
  this.get('appcues').show(contentId)
  • Appcues.clearShow()
  this.get('appcues').clearShow()
  • Appcues.debug()
  this.get('appcues').denug()
  • Appcues.reset()
  this.get('appcues').reset()

Contributing

Installation

  • git clone <repository-url>
  • cd ember-cli-appcues
  • npm install

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 23 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc