Solution:
The correct thing is to pass a variable through the controller:
return view('view.path', [ 'url' => 'www.url.com' ]);
however, try as below:
@include('common.head', ['url' => 'www.url.com'])