Skip to content

The easiest way to integrate analytics into any Alexa skill powered by Node.js

Notifications You must be signed in to change notification settings

troposhq/analytics-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tropos/analytics-node

A Node.js client for Tropos — The easiest way to integrate analytics into any Alexa skill powered by Node.js.

Installation

$ npm install @tropos/analytics-node

Usage

const Alexa = require('ask-sdk-core');
const tropos = require('@tropos/analytics-node')('write key');

const skillBuilder = Alexa.SkillBuilders.custom();

exports.handler = tropos.Alexa(skillBuilder
  .addRequestHandlers(
    ...
  )
  .lambda());

License

Copyright © 2018 Tropos Inc. <company@troposhq.com>