using base url for analytics