analytics-adapter
analytics-adapter is a interface for Google Analytics to tracking events, pageviews and custom dimensions
Usage
// init Analytics and set 'User' custom dim to slot #3 and 'Valuable' to slot #4AnalyticsAdapter; // set 'User' custom dim, without re-specify the slotAnalyticsAdapter; // track pageviewAnalyticsAdapter; // track eventAnalyticsAdapter;
Installation
NPM
npm install --save analytics-adapter
Documentation
To read documentation, go to:
http://d-mobilelab.github.io/analytics-adapter/latest
or for a previous version of the documentation, go to:
http://d-mobilelab.github.io/analytics-adapter/3.0.0
replace 3.0.0 with previous version.