Add support for recording page duration using XAPI