Skip to content

A basic example Express app that uses analytics-node

Notifications You must be signed in to change notification settings

segment-boneyard/express-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-example-app

Set up an Express app with analytics-node

  1. express express-example-app

  2. cd express-example-app

  3. npm install analytics-node

  4. Add the following to your app.js file:

var Analytics = require('analytics-node');
var analytics = new Analytics('YOUR_WRITE_KEY');
  1. Replace YOUR_WRITE_KEY with the key in your project's settings. Done.

About

A basic example Express app that uses analytics-node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published