### Mixpanel

    mixpanel.identify('284');
    mixpanel.people.set({ $email: 'hi@gmail.com' });
    mixpanel.register({ age: 28, gender: 'male' }); /* set common properties */

mixpanel

### 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

0 Comments for this cheatsheet. Write yours!