Small fix on addEcProduct in analytics
parent
b64bf73a1f
commit
230be7109b
|
@ -128,9 +128,9 @@ class AnalyticsService extends taiga.Service
|
||||||
return if not @win.ga
|
return if not @win.ga
|
||||||
|
|
||||||
@win.ga('ec:addProduct', {
|
@win.ga('ec:addProduct', {
|
||||||
'id': plan.plan_id,
|
'id': plan_id,
|
||||||
'name': plan.name,
|
'name': plan_name,
|
||||||
'price': plan.price,
|
'price': plan_price,
|
||||||
'category': "plans",
|
'category': "plans",
|
||||||
'quantity': 1,
|
'quantity': 1,
|
||||||
'position': 1,
|
'position': 1,
|
||||||
|
|
Loading…
Reference in New Issue