SMS: Implementing analytics