Add some GA events.

This commit is contained in:
James Cole
2015-05-25 07:26:19 +02:00
parent 4874c116cf
commit fb2481ebaa
2 changed files with 25 additions and 0 deletions

View File

@@ -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');
}