 
       action: ->
         @render @params.action
+
+      onAfterAction: (pause) ->
+        if @params.action is 'result'
+          GAnalytics.pageview()

  loadingTemplate: 'loading'
  notFoundTemplate: 'notFound'


# client


  Router.onBeforeAction 'loading'
  Router.onBeforeAction 'dataNotFound', only: 'game'

  # after hooks

  Router.onAfterAction filters.ganalytics, except: 'game'

  # routes

