Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 772 Bytes

contributing.md

File metadata and controls

28 lines (17 loc) · 772 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:

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

const 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.