[backport] Changed the analytics ec functions names to be more coherent
parent
df40f881bf
commit
8217c3d68d
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue