Route::get('/', 'HomeController@index')->name('homepage');
And then we add a link to it:
HomeNow, what if you want to track this link with UTM parameters? Of course, you can do it like this:
HomeBut probably the logic of your campaign is defined outside of Blade view, so it would be convenient to pass these variables somehow. Guess what - we can write them as array:
HomeOr, even better, pass these values as array of $utm_parameters and then have this:
HomeThe result URL will be the same: /?utm_source=internal&utm_medium=banner&utm_campaign=onboarding2017 Hope that helps!