Added useragent and referred tracking