Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API request Referers.getUrlsForSocial fails with idSubtable #3917

Closed
tsteur opened this issue Apr 26, 2013 · 2 comments
Closed

API request Referers.getUrlsForSocial fails with idSubtable #3917

tsteur opened this issue Apr 26, 2013 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@tsteur
Copy link
Member

tsteur commented Apr 26, 2013

Hi all,

getting the following error when trying to call Referers.getUrlsForSocial:

{
  result: "error",
  message: "Requested report Referers.getUrlsForSocial for Website id=7 not found in the list of available reports. "
}

URL to reproduce:

http://demo.piwik.org/index.php?hideMetricsDoc=1&showTimer=0&filter_limit=30&period=day&date=yesterday&idSite=7&idSubtable=24&flat=0&apiModule=Referers&apiAction=getUrlsForSocial&sortOrderColumn=nb_visits&filter_sort_column=nb_visits&module=API&token_auth=anonymous&format=json&method=API.getProcessedReport&language=en&

The idSubtable and apiAction values are returned by this API call:

http://demo.piwik.org/index.php?hideMetricsDoc=1&showTimer=0&filter_limit=30&period=day&date=yesterday&idSite=7&flat=0&apiModule=Referers&apiAction=getSocials&sortOrderColumn=nb_visits&filter_sort_column=nb_visits&module=API&token_auth=anonymous&format=json&method=API.getProcessedReport&language=en&

actionToLoadSubTables: "getUrlsForSocial",
  "reportData": [
    {
      "label": "Google+",
      "nb_uniq_visitors": 1,
      "nb_visits": 1,
      "nb_actions": 5,
      "nb_actions_per_visit": 5,
      "avg_time_on_site": "00:11:31",
      "bounce_rate": "0%",
      "conversion_rate": "0%"
    }
  ],
  "reportMetadata": [
    {
      "url": "url.google.com",
      "logo": "plugins\/Referers\/images\/socials\/xx.png",
      "idsubdatatable": 24
    }
  ]
@tsteur
Copy link
Member Author

tsteur commented Nov 11, 2013

In fb39aee: refs #3917 declaring getUrlsForSocial as a subtable report

@tsteur
Copy link
Member Author

tsteur commented Nov 11, 2013

In c0ef1c1: refs #3917 better dimension

@tsteur tsteur added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant