Tracking localhost application

I’m building Vuejs application and want to track the application using Matomo. I’m using Vue Matomo package to register the Matomo site in Vue.

I checked the server log and I found I was succeeded to send requests to Matomo server, but the problem is Matomo is not tracking these requests.

Can you please guide me where is the issue? Is it Matomo website settings? or what?

I’m enabling DoNotTrack feature in my browser and Matomo is respecting this by default. No actions had been logged because of that.

Hello-were you able to find a solution? I’m using nuxtjs and have the same problem with the JavaScript tracking code. I tried to solution in Python which works.