Add analytics event for message sending.