Socket
Socket
Sign inDemoInstall

ember-cli-customerio

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-customerio

Ember CLI implementation for Customer.io


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

Ember CLI implementation for Customer.io

Installation

ember install:addon ember-cli-customerio

Once the addon is installed you must then include it in your HTML (preferably right before the opening body tag and closing <head> tag):

{{content-for 'customerio'}}

Reference: https://github.com/alvincrespo/ember-cli-customerio/blob/master/tests/dummy/app/index.html#L24

Usage

Identifiying and tracking users are available on controllers, routes and views. You can easily call these by doing:

this.cio.identify({ })

this.cio.track('someEventName', {})

Configuration

In your environment configuration ensure that you set the site-id and api-key for the CIO object:

    cio: {
      'site-id': '',
      'api-key': ''
    }

Reference: https://github.com/alvincrespo/ember-cli-customerio/blob/master/tests/dummy/config/environment.js#L21-L24

Keywords

FAQs

Package last updated on 10 Apr 2015

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