From fd101e50ba86e46efc9a6ad3acb5565dc654fb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Tue, 24 Oct 2017 13:08:53 +0200 Subject: [PATCH] [backport] Remove plan_price from addEcImpression --- app/coffee/modules/common/analytics.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/coffee/modules/common/analytics.coffee b/app/coffee/modules/common/analytics.coffee index 890e1636..c7072e76 100644 --- a/app/coffee/modules/common/analytics.coffee +++ b/app/coffee/modules/common/analytics.coffee @@ -105,7 +105,7 @@ class AnalyticsService extends taiga.Service }) @.trackEvent("ecommerce", "add-step", step, stepId) - addEcImpression: (plan, plan_price, page, position) -> + addEcImpression: (plan, page, position) -> return if not @.initialized return if not @win.ga @@ -118,7 +118,6 @@ class AnalyticsService extends taiga.Service @win.ga('ec:addProduct', { 'id': plan.plan_id, 'name': plan.name, - 'price': plan_price, 'category': "plans", 'quantity': 1, 'position': 1,