Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

API request Referers.getUrlsForSocial fails with idSubtable #3917

Closed
tsteur opened this Issue · 2 comments

1 participant

@tsteur
Owner

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
Owner

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

@tsteur
Owner

In c0ef1c1: refs #3917 better dimension

@tsteur tsteur added this to the 2.0 - Piwik 2.0 milestone
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@tsteur tsteur refs #3917 better dimension c0ef1c1
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.