Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 553 Bytes

analytics.md

File metadata and controls

30 lines (23 loc) · 553 Bytes
title category
Analytics libraries
Analytics

Mixpanel

mixpanel.identify('284');
mixpanel.people.set({ $email: '[email protected]' });
mixpanel.register({ age: 28, gender: 'male' }); /* set common properties */

mixpanel {: .-crosslink}

Google Analytics's analytics.js

ga('create', 'UA-XXXX-Y', 'auto');
ga('create', 'UA-XXXX-Y', { userId: 'USER_ID' });
ga('send', 'pageview');
ga('send', 'pageview', { 'dimension15': 'My custom dimension' });

analytics.js {: .-crosslink}