We have a problem where API calls, made with the Piwik API class, is providing results that are different for each person who runs it. This is the URL that is generated from within the API class.
http://PIWIK_URL/?module=API&method=SEO.getRank&token_auth=AUTH_TOKEN&idSite=3&period=day&format=json&language=en&url=http://driverpulse.com&date=yesterday
This provides this result for one of our users:
[{“label”:“Google PageRank”,“rank”:“1”,“logo”:“plugins/Referers/images/searchEngines/google.com.png”,“id”:“pagerank”},{“label”:“Google indexed pages”,“rank”:12200,“logo”:“plugins/Referers/images/searchEngines/google.com.png”,“id”:“google-index”},{“label”:“Bing indexed pages”,“rank”:0,“logo”:“plugins/Referers/images/searchEngines/bing.com.png”,“id”:“bing-index”},{“label”:“Alexa Rank”,“rank”:{“0”:“12292424”},“logo”:“plugins/Referers/images/searchEngines/alexa.com.png”,“id”:“alexa”},{“label”:“Domain Age”,“rank”:“1\u00a0years\u00a0107\u00a0days”,“logo”:“plugins/SEO/images/whois.png”,“id”:“domain-age”},{“label”:“External Backlinks (Majestic)”,“rank”:“102178”,“logo”:“plugins/SEO/images/majesticseo.png”,“logo_link”:“Site Explorer - driverpulse.com - Summary - Majestic External Backlinks report on MajesticSEO.com”,“id”:“external-backlinks”},{“label”:“Referrer Domains (Majestic)”,“rank”:“331”,“logo”:“plugins/SEO/images/majesticseo.png”,“logo_link”:“Site Explorer - driverpulse.com - Summary - Majestic External Backlinks report on MajesticSEO.com”,“id”:“referrer-domains”}]
We had someone from another location try it and the results are as follows:
[{“label”:“Google PageRank”,“rank”:“1”,“logo”:“plugins/Referers/images/searchEngines/google.com.png”,“id”:“pagerank”},{“label”:“Google indexed pages”,“rank”:12200,“logo”:“plugins/Referers/images/searchEngines/google.com.png”,“id”:“google-index”},{“label”:“Bing indexed pages”,“rank”:1080,“logo”:“plugins/Referers/images/searchEngines/bing.com.png”,“id”:“bing-index”},{“label”:“Alexa Rank”,“rank”:{“0”:“12292424”},“logo”:“plugins/Referers/images/searchEngines/alexa.com.png”,“id”:“alexa”},{“label”:“Domain Age”,“rank”:“1\u00a0years\u00a0107\u00a0days”,“logo”:“plugins/SEO/images/whois.png”,“id”:“domain-age”},{“label”:“External Backlinks (Majestic)”,“rank”:“102178”,“logo”:“plugins/SEO/images/majesticseo.png”,“logo_link”:“Site Explorer - driverpulse.com - Summary - Majestic External Backlinks report on MajesticSEO.com”,“id”:“external-backlinks”},{“label”:“Referrer Domains (Majestic)”,“rank”:“331”,“logo”:“plugins/SEO/images/majesticseo.png”,“logo_link”:“Site Explorer - driverpulse.com - Summary - Majestic External Backlinks report on MajesticSEO.com”,“id”:“referrer-domains”}]
The bing results are different between the two as if the client is making the request instead of the server making the request.
Why would the same API point return two different data sets using the same URL depending on which user runs it?