From 35adea61e0aea2fd05d665a1333d3c3cbc86a178 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Mon, 1 Dec 2014 13:58:18 -0800 Subject: [PATCH] Update trackPageView integrations call Based on feedback from segment.io support. Was unclear from documentation how to provide only name and options object. --- app/core/Tracker.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/Tracker.coffee b/app/core/Tracker.coffee index 3d490de0e..f8a00467b 100644 --- a/app/core/Tracker.coffee +++ b/app/core/Tracker.coffee @@ -31,7 +31,7 @@ module.exports = class Tracker options = integrations: {'All': false} for integration in includeIntegrations options.integrations[integration] = true - analytics.page null, "/#{name}", null, options + analytics.page "/#{name}", {}, options else analytics.page "/#{name}"