[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, 'position': position,
}) })
setEcAddProduct: (plan) -> addEcProduct: (plan) ->
@win.ga('ec:addProduct', { @win.ga('ec:addProduct', {
'id': plan.plan_id, 'id': plan.plan_id,
'name': plan.name, 'name': plan.name,
'position': 1, 'position': 1,
}) })
setEcSetAction: (action, page) -> setEcAction: (action, page) ->
@win.ga('ec:setAction', action, { @win.ga('ec:setAction', action, {
'list': page 'list': page
}) })