Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 771 Bytes

File metadata and controls

28 lines (17 loc) · 771 Bytes

Testing

In addition to the regular tests via npm test, contributors should also ensure the analytics tracking vendor continues to receive data.

Google Analytics (GA)

Please sign up for a free GA web-tracking account, then run below script using your tracking code:

var Insight = require('lib/insight.js');

var insight = new Insight({
  trackingCode: 'UA-00000000-0', // replace with your test GA tracking code
  packageName: 'test app',
  packageVersion: '0.0.1'
});

insight.track('hello', 'sindre');

Then visit GA's Real Time dashboard and ensure data is showing up:

analytics screenshot

Other Guidelines

Please see Yeoman's contributing docs.