From 230be7109b2af324360fbe655e8ef217413a811b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 19 Oct 2017 13:20:16 +0200 Subject: [PATCH] Small fix on addEcProduct in analytics --- app/coffee/modules/common/analytics.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/coffee/modules/common/analytics.coffee b/app/coffee/modules/common/analytics.coffee index 70d56293..475f5f40 100644 --- a/app/coffee/modules/common/analytics.coffee +++ b/app/coffee/modules/common/analytics.coffee @@ -128,9 +128,9 @@ class AnalyticsService extends taiga.Service return if not @win.ga @win.ga('ec:addProduct', { - 'id': plan.plan_id, - 'name': plan.name, - 'price': plan.price, + 'id': plan_id, + 'name': plan_name, + 'price': plan_price, 'category': "plans", 'quantity': 1, 'position': 1,