NicoHood / grav-plugin-matomo

Integrates Matomo analytics into Grav CMS
GNU General Public License v3.0
6 stars 1 forks source link

.gravenv #3

Open Bran-Ko opened 3 years ago

Bran-Ko commented 3 years ago

Can you show some example of .gravenv file ? What name for token must be entered?

I am usin only

token=

but nothings happend.

NicoHood commented 3 years ago

Sure!

plugins.matomo.token='token'
plugins.matomo.dashboard_token='token'
Bran-Ko commented 3 years ago

OK better. I seems that only thins I have to do is enter my matomo url, site id and token. I did it but when I see on developer page in browser which components was loaded and from was loaded I didn't see my matomo server. DO I need to add something to text on page or header ?

NicoHood commented 3 years ago

I dont fully understand your text. I think you have problems setting up the dashboard token? Make your you have created a new user with read only permissions: https://matomo.org/docs/embed-matomo-reports/#embed-piwik-widgets-on-a-password-protected-or-private-page

Bran-Ko commented 3 years ago

I tryed to use matomo without dashboard token - is it mandatory ? (I am newbie about Matomo, but I insert script code into simple page - that is working)

NicoHood commented 3 years ago

You can use it without, but you will not see matomo in the admin panel. The tracking should work, check your matomo interface.