I used the API call to add a real website not show in the example here. My control Panel shows Name = http://anothersite.com URL = another.com
I beleive I enterd no alias into the add site call.
I can make the call successfully to the 2 outlinks I created throught the javascript tracking mechanism by clicking them on my site.
Here is the API call for Outlinks that works perfect:
http://example.com/piwik/?module=API&token_auth=6075ebc0af5d099a34a7447f10089119&method=Actions.getOutlinks&idSite=9&period=day&date=today
PROBLEM
Here are my attempted failed calls to the Actions.getOutlink and only shows <result,/> tag.
http://www.example.com/piwik/?module=API&token_auth=6075ebc0af5d099a34a7447f10089119&method=Actions.getOutlink&idSite=9&outlinkUrl=another.com&period=day&date=today&format=xml
http://www.example.com/piwik/?module=API&token_auth=6075ebc0af5d099a34a7447f10089119&method=Actions.getOutlink&idSite=9&outlinkUrl=http://anothersite.com&period=day&date=today&format=xml
For the life of me I don't understand why there is no way to parse throught the XML results for the getOutlinks call and then use the <idsubdatatable>7</idsubdatatable> tag to bring the missing uri / query data attached to that id??? Or maybe there is?
Any help would be super appreciated...
I beleive I enterd no alias into the add site call.
I can make the call successfully to the 2 outlinks I created throught the javascript tracking mechanism by clicking them on my site.
Here is the API call for Outlinks that works perfect:
http://example.com/piwik/?module=API&token_auth=6075ebc0af5d099a34a7447f10089119&method=Actions.getOutlinks&idSite=9&period=day&date=today
PROBLEM
Here are my attempted failed calls to the Actions.getOutlink and only shows <result,/> tag.
http://www.example.com/piwik/?module=API&token_auth=6075ebc0af5d099a34a7447f10089119&method=Actions.getOutlink&idSite=9&outlinkUrl=another.com&period=day&date=today&format=xml
http://www.example.com/piwik/?module=API&token_auth=6075ebc0af5d099a34a7447f10089119&method=Actions.getOutlink&idSite=9&outlinkUrl=http://anothersite.com&period=day&date=today&format=xml
For the life of me I don't understand why there is no way to parse throught the XML results for the getOutlinks call and then use the <idsubdatatable>7</idsubdatatable> tag to bring the missing uri / query data attached to that id??? Or maybe there is?
Any help would be super appreciated...