Matomo throws requires 'view' access for the website id = 1 error

Hey, I am using kirby-matomo and unable to show statistics.

The config file looks like this

return [
  'sylvainjule.matomo.url' => 'https://test.uber.space/analytics',
  'sylvainjule.matomo.id' => '1',
  'sylvainjule.matomo.token' => getenv('MATOMO_TOKEN')
]

The dashboard looks like this

can you please help me showing some data.

Thanks!!

You need to get a token from your Matamo installation and replace 'MATOMO_TOKEN' with that token. Basically the plugin is telling you that it does not have permission to access the data.

See this part of the readme about the token - https://github.com/sylvainjule/kirby-matomo#33-token-required-for-the-panel-integration

Thanks for the replay!

The problem was had updated 'MATOMO_TOKEN' in wrong .env file.

it works now :+1:

Thanks!!