Segment tracking for Google Anlytics Events
// demo de segment
analytics.track('Logged In', {
category: 'Account',
label: 'Premium',
value: 50
});
// overview de otra aplicación de ejemplo
analytics.track('Clicked on Gold button', {
category: 'Click',
label: 'Gold button'
});
analytics.track('Bought Gold subscription', {
category: 'Subscription',
label: 'Gold subscription',
value: 100
});