At Piwik, our mission is to provide the best open analytics platform. Part of our mission is to make it as easy as possible to measure and collect data within Piwik from everywhere.
There are already dozens of integrations for other tools that make it easy to track data in Piwik from Wordpress, Drupal, other CMS, Ecommerce platforms, and much more. Besides these integrations with the most popular tools / CMS / Ecommerce (all of these are maintained by community members), it is very important for the success of the Piwik platform to also provide official SDKs for the most popular programming languages.
All creators/maintainers of our official SDK are part of the Piwik team and listed on our official team page.
There is not yet an official Piwik SDK for the following programming languages:
Creating and maintaining an official Piwik Tracking SDK is a awesome way to make a big positive impact on Piwik!
If you are familiar with any of these technologies and would like to participate into growing open source project, let's start the discussion :+1:
Hi, I'd like to hand over my Node.js client for the Piwik Tracking HTTP API (mentioned above), if you're interested.
It's just a thin wrapper around the HTTP API calls, so it shouldn't require too much attention regarding maintenance. I don't think it makes much sense to change/integrate the JS client API, as most functions relate to browser interactions.
Awesome to hear @brendoncrawford and welcome to the project! As you now have permission to create/merge PRs and push commits, we're looking forward to see what you make. Probably the Python SDK needs a rewrite to ultimately use more modern APIs and we can discuss this in the Python sdk repo.
@fhemberger Thanks for the offer of handing over your project to the Piwik community. If anyone reading is interested in improving the Node JS Piwik Tracking SDK please leave a comment :rocket:
@mattab Well, this issue doesn't get much feedback. ;)
The Node.js Piwik Tracking SDK is feature complete (it's basically just a simple wrapper doing the necessary HTTP tracking call to your Piwik installation), so I don't expect it to need much maintenance in the future.
But as I personally don't really use any sort of analytics, I think the Piwik org would be a great place for it.
@mattab I can only make you collaborator, but that doesn't give you admin access.
According to GitHub, I need to be given temporary rights in the piwik org to create new repos:
@fhemberger And I forwarded it to https://github.com/piwik/piwik-tracker
And it seems like travis also migrated without issues:
@Findus23 guess we should rename the repo to something like
piwik-nodejs-tracker, to have a consistent naming with the others?
Repo is also referenced on https://piwik.org/integrate/#programming-language-platforms-and-frameworks, link needs to be changed as well.
The repository has been migrated to https://github.com/matomo-org/piwik-nodejs-tracker - we could rename it to
matomo-nodejs-tracker at some point?
Thanks @fhemberger for your contributions to this project and hope we can take this forward!
a) You still need an account at npm to manage the package, at the moment, I'm still the maintainer
b) If you rename the package, make sure to deprecate the old package name: https://stackoverflow.com/questions/28371669/renaming-a-published-npm-module
PR for renaming Piwik -> Matomo: https://github.com/matomo-org/piwik-nodejs-tracker/pull/42
@Findus23 you're now Admin on the repo as well. Might give you the permission to rename it?
I have now published matomo-tracker and deprecated the old package.
➜ ~/tmp npm install piwik-tracker ➜ ~/tmp npm install piwik-tracker npm WARN deprecated piwik-tracker<a class='mention' href='https://github.com/1'>@1</a>.1.2: WARNING: Because of the recent renaming from Piwik to Matomo this package is now called matomo-tracker. Please update your dependencies and code accordingly. npm WARN saveError ENOENT: no such file or directory, open '/home/lukas/tmp/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/lukas/tmp/package.json' npm WARN tmp No description npm WARN tmp No repository field. npm WARN tmp No README data npm WARN tmp No license field. + piwik-tracker<a class='mention' href='https://github.com/1'>@1</a>.1.2 added 1 package in 0.252s
@Findus23 Awesome. Removed myself as npm owner from both packages, it's all in your hands now. Godspeed! Of course, if you have any questions in the future, just ping me.
@mattab can we move this to another milestone or are we doing something as part of this issue?
It can be put in the backlog 👍