Make changes to what we send to Segment, still anonymous!

This commit is contained in:
James Brooks
2015-05-23 13:20:05 +01:00
parent 92604f2ecd
commit 83be116075
4 changed files with 10 additions and 5 deletions
@@ -28,6 +28,8 @@ class DashboardController extends AbstractController
{
$components = Component::all();
segment_page('Dashboard');
return View::make('dashboard.index')->with([
'components' => $components,
]);
+1 -3
View File
@@ -37,9 +37,7 @@ class HomeController extends AbstractController
$today = Carbon::now();
$startDate = Carbon::now();
segment_track('Status Page', [
'event' => 'Landed',
]);
segment_page('Status Page');
// Check if we have another starting date
if (Binput::has('start_date')) {
+2
View File
@@ -41,6 +41,8 @@ class SetupController extends AbstractController
*/
public function getIndex()
{
segment_page('Setup');
return View::make('setup')->with([
'pageTitle' => trans('setup.setup'),
]);