add support for analytics endpoint + custom dimension on event