Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Parsing .xml log and feed into Piwik (no replies)

$
0
0
Hello All,
I have offline App that generate .xml file. I Parsed it and have a JSON now I want to feed into Piwik.
There are pages and event attributes in the log and I want for each page or job or event I run piwik. I am thinking about Php or JS tracker.
Here is the sample of JSON that I want to feed into Piwik. Thanks for helping me.
[
{
"Job": [
{
"$": {
"name": "0010002000256",
"guid": "e7d7b733-771b-464f-9632-8892f145e54a",
"start": "2014-08-26T21:05:58.6711509-04:00",
"end": "2014-08-27T10:23:31.7363175-04:00"
},
"Pages": [
{
"Page": [
{
"$": {
"name": "ThemeC\\AttractionScreen.xaml",
"start": "2014-08-26T21:05:58.6731511-04:00",
"end": "2014-08-27T10:18:43.5843175-04:00"
},
"Events": [
{
"Event": [
{
"$": {
"type": "Button",
"occurrence": "2014-08-27T10:18:43.5263175-04:00",
"id": "ScreenSaverMoveForwardButton",
"action": "Button Click on screensaver"
}
}
]
}
]
},

Viewing all articles
Browse latest Browse all 4243

Trending Articles