initial modifications to support appOpened Analytics call