Added setUserIdFromReferrer and setUserIdFromLocation (#57)