Matomo' installation doesn't work


(Albert Gallego) #1

Hello there. I’m new here.

I’ve just installed Matomo in my server, and the tracking seems unable to track anything. I don’t know what happens. The code is already in place, in each one of the pages in my site. Matomo’s installation worked beautifully, without any warnings… But I don’t know why, Matomo doesn’t fill the database. It did fill the database with the required tables, but nothing more.

Any ideas? The site is www.englishgirona.net, and the matomo installation is in Sign in - Matomo


(Lukas Winkler) #2

Hi,

You are using CSP (Content Security Headers) to disallow inline scripts. Therefore also the Matomo inline Script doesn’t work.

<meta http-equiv="Content-Security-Policy" content="default-src	'self' https://www.google.com/maps/embed">

You would need to change the policy and/or move the tracking script into a (aync) extra file.

https://matomo.org/faq/general/faq_20904/


(Albert Gallego) #3

Thanks a lot! It worked :slight_smile: