diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index af7c07bdd5..6b46ed2a03 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -109,6 +109,8 @@ class ProfileController extends Controller // DELETE! Auth::user()->delete(); Session::flush(); + Session::flash('gaEventCategory', 'user'); + Session::flash('gaEventAction', 'delete-account'); return Redirect::route('index'); } diff --git a/resources/twig/layout/guest.twig b/resources/twig/layout/guest.twig index 1d81e22141..90a026e44d 100644 --- a/resources/twig/layout/guest.twig +++ b/resources/twig/layout/guest.twig @@ -58,5 +58,28 @@ + +