[backport] Changed the analytics ec functions names to be more coherent

stable
Jesús Espino 2017-09-21 08:29:31 +02:00
parent df40f881bf
commit 8217c3d68d
1 changed files with 2 additions and 2 deletions

View File

@ -115,14 +115,14 @@ class AnalyticsService extends taiga.Service
'position': position,
})
setEcAddProduct: (plan) ->
addEcProduct: (plan) ->
@win.ga('ec:addProduct', {
'id': plan.plan_id,
'name': plan.name,
'position': 1,
})
setEcSetAction: (action, page) ->
setEcAction: (action, page) ->
@win.ga('ec:setAction', action, {
'list': page
})