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' => '',
  '' => '1',
  'sylvainjule.matomo.token' => getenv('MATOMO_TOKEN')

The dashboard looks like this

can you please help me showing some data.


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 -

Thanks for the replay!

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

it works now :+1: