[backport] Remove plan_price from addEcImpression
parent
7fad81cdbd
commit
fd101e50ba
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue