matomo-org / piwik-dotnet-tracker

C# API client SDK for the Piwik Tracking API
BSD 3-Clause "New" or "Revised" License
74 stars 47 forks source link

TrackAction not tracking downloads or links #68

Open uncled1023 opened 6 years ago

uncled1023 commented 6 years ago

When I call DoTrackAction with the URL and action type (Download or Link), it is being saved as page view, not as a Download action.

This was working in v2.16.

uncled1023 commented 6 years ago

My current thought is that the API is looking for a case sensitive 'download' or 'link', but this library has changed the ActionTypes enum to be CamelCase, which when converted to string, wouldn't match what the server is looking for.

MERamadan commented 5 years ago

We have the same issue, I noticed that the generated URL has Download with capital D. When we changed the Downlaod to download in the url and posted it in the browser, the dashboard show it as a download.