I just today began investigating how to use piwik for my client. I’ve read the docs, the faq, the forum posts, etc. But, I’ve seen only one post regarding incorporating piwik with the Titanium Mobile SDK. I know the piwik mobile app is built on Titanium, so I was hoping that I could get some guidance and/or sample code of how I set it up in my project.
Here are my specs:
SDK: Titanium SDK: 3.1.3.GA
Target platform: iOS version 7.0
I’m using the Alloy framework, so is it possible to export the piwik.js file as a CommonJS module, then add a statement in the xml pages? Or if there’s a simpler/more efficient way, I’d be willing to try that. I have no idea at this point of how to start.
Your kind assistance would be most appreciated.
EDIT: If anyone has an open-source mobile project incorporating the tracking api, please post links to it. I really need an example of how it’s used in a mobile app.