- url(r'^reading/(?P<slug>[a-z0-9-]+)/$', views.BookUserDataView.as_view(), name='api_reading'),
- url(r'^reading/(?P<slug>[a-z0-9-]+)/(?P<state>[a-z]+)/$', views.BookUserDataView.as_view(), name='api_reading'),
- url(r'^username/$', views.UserView.as_view(), name='api_username'),
+ url(r'^reading/(?P<slug>[a-z0-9-]+)/$',
+ piwik_track_view(views.BookUserDataView.as_view()),
+ name='api_reading'),
+ url(r'^reading/(?P<slug>[a-z0-9-]+)/(?P<state>[a-z]+)/$',
+ piwik_track_view(views.BookUserDataView.as_view()),
+ name='api_reading'),
+ url(r'^username/$',
+ piwik_track_view(views.UserView.as_view()),
+ name='api_username'),