```ruby
if Rails.env.production?
  Rails.application.config.middleware.use Rakwik::Tracker, piwik_url: 'http://dev.altimos.de/piwik/piwik.php',
                                          site_id: '4', token_auth: ENV['RAKWIK_AUTH_TOKEN'], track_404: false,
                                          path: '/api'
end
```

Allow to start Rakwik in dev mode by enabling RAKWIK evn var.
user
```ruby
if Rails.env.production? or ENV['RAKWIK']
  Rails.application.config.middleware.use Rakwik::Tracker, piwik_url: 'http://dev.altimos.de/piwik/piwik.php',
                                          site_id: '4', token_auth: ENV['RAKWIK_AUTH_TOKEN'], track_404: false,
                                          path: '/api'
end
```
assistant