Methods for sending events and screenviews