Is it possible to use Piwik in C# WebApi?

Dear all,

I don’t have a good knowledge with Piwik. I develop a C# WebAPI and I’m trying to know if this is possible to track visitors on a method (public IHttpActionResult Get(Guid cardId)). This method allows me to redirect the visitor to another page OR send a byte array as response (according to the cardId parameter that I receive ).

Thanks in advance,

Not sure what exactly you are trying to achive. But aren’t you able to use our c# api client sdk: GitHub - piwik/piwik-dotnet-tracker: C# API client SDK for the Piwik Tracking API