Refine the directly share logic, according to url referrer