don't store referer url in the db anymore, use just
unknown|internal|direct for the undefined urls