Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 572 Bytes

analytics.md

File metadata and controls

31 lines (24 loc) · 572 Bytes
title layout category
Analytics libraries
2017/sheet
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}