purely client-side analytics for facebook messaging