            'list': page,
            'position': position,
         })
+        @.trackEvent("ecommerce", "add-impression", plan.name, plan.plan_id)
 
     addEcProduct: (plan) ->
         @win.ga('ec:addProduct', {

            'step': stepId,
            'Option': option
        })

    addEcImpression: (plan, page, position) ->
        @win.ga('ec:addImpression', {

           'name': plan.name,
           'position': 1,
        })
        @.trackEvent("ecommerce", "add-product", plan.name, plan.plan_id)

    setEcAction: (action, page) ->
        @win.ga('ec:setAction', action, {
            'list': page
        })
        @.trackEvent("ecommerce", "set-action", action, page)

module.service("$tgAnalytics", AnalyticsService)
