[backport] Remove plan_price from addEcImpression

stable
Jesús Espino 2017-10-24 13:08:53 +02:00
parent 7fad81cdbd
commit fd101e50ba
1 changed files with 1 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class AnalyticsService extends taiga.Service
}) })
@.trackEvent("ecommerce", "add-step", step, stepId) @.trackEvent("ecommerce", "add-step", step, stepId)
addEcImpression: (plan, plan_price, page, position) -> addEcImpression: (plan, page, position) ->
return if not @.initialized return if not @.initialized
return if not @win.ga return if not @win.ga
@ -118,7 +118,6 @@ class AnalyticsService extends taiga.Service
@win.ga('ec:addProduct', { @win.ga('ec:addProduct', {
'id': plan.plan_id, 'id': plan.plan_id,
'name': plan.name, 'name': plan.name,
'price': plan_price,
'category': "plans", 'category': "plans",
'quantity': 1, 'quantity': 1,
'position': 1, 'position': 1,