added analytics.debug(true)