Remove GA event codes.

This commit is contained in:
James Cole
2017-12-11 14:52:30 +01:00
parent d1c8e54798
commit f35aa6a035
23 changed files with 154 additions and 208 deletions

View File

@@ -173,8 +173,6 @@ class SingleController extends Controller
$this->rememberPreviousUri('transactions.create.uri');
}
Session::forget('transactions.create.fromStore');
Session::flash('gaEventCategory', 'transactions');
Session::flash('gaEventAction', 'create-' . $what);
asort($piggies);
@@ -205,8 +203,6 @@ class SingleController extends Controller
// put previous url in session
$this->rememberPreviousUri('transactions.delete.uri');
Session::flash('gaEventCategory', 'transactions');
Session::flash('gaEventAction', 'delete-' . $what);
return view('transactions.single.delete', compact('journal', 'subTitle', 'what'));
}
@@ -313,8 +309,6 @@ class SingleController extends Controller
}
Session::flash('preFilled', $preFilled);
Session::flash('gaEventCategory', 'transactions');
Session::flash('gaEventAction', 'edit-' . $what);
// put previous url in session if not redirect from store (not "return_to_edit").
if (true !== session('transactions.edit.fromUpdate')) {