Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 642 Bytes

contributing.md

File metadata and controls

23 lines (15 loc) · 642 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:

import Insight from '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