Matomo tracking HTTP API of a website hosted in subfolder


Considering the following website :

Using the HTTP Tracking API with the url param :

url :

When I retrieve the data, I should have on the actions page :


But I have :


Am I missing something ? I have set the analytics profil :

url : as the root path.

Yes because your page is located under mywebsite folder…
In your tracking, you just have to set the url as instead of

1 Like

Thank you Philippe for your quick answer.

Isn’t a bit “hacky” ? Is there no other way to tell Matomo that the root website in in a folder ( and not a root domain ( ?

Thank you again,

I don’t see another way…

Alright, thanks for your help !