Can I make piwik.js client send data to a different system?

We are pumping web traffic into splunk. We have a custom server-side route that listens for posts/gets whatever and I’d like to use piwik.js, the client, to send the data to that server-side route. Has anyone done this? I’ve tried to change the tracking code and it doesn’t do what I thought it would…

You can send Piwik tracking request to a defined location. You need only piwik.js file and a javascript snippet. Could you elaborate on what you want to achieve?

I was able to get it working. I had initially tried to change the variable in the tracking code to point to a test nodejs backend and it didn’t work. I was only listening for a POST in my node app. I went in to Piwik.js and found the defaultRequestMethod was set to a GET. I changed that to POST and it started working.