Small fix on addEcProduct in analytics

stable
Jesús Espino 2017-10-19 13:20:16 +02:00
parent b64bf73a1f
commit 230be7109b
1 changed files with 3 additions and 3 deletions

View File

@ -128,9 +128,9 @@ class AnalyticsService extends taiga.Service
return if not @win.ga
@win.ga('ec:addProduct', {
'id': plan.plan_id,
'name': plan.name,
'price': plan.price,
'id': plan_id,
'name': plan_name,
'price': plan_price,
'category': "plans",
'quantity': 1,
'position': 1,