Campaign report

GET
/campaigns/campaign-id/campaign_report

Get report for campaign

Query parameters

start_date Include content after this in the calculation
end_date Include content before this in the calculation
GET https://analytics-api.flockler.com/v1/campaigns/92/campaign_report
{
  "campaign_report": {
    "id": "92",
    "entries": 40,
    "contributors": 40,
    "new_contributors": 39,
    "engagement": 1065,
    "potential_reach": 106140,
    "article_shares": {
      "facebook": 0,
      "linkedin": 0,
      "twitter": 0,
      "id": "72132bad-4130-4ab9-8f5a-3bd0d4668288"
    },
    "instagram": {
      "posts": 26,
      "stat1": 962,
      "stat1_median": 30,
      "stat1_std_dev": 26.5923644333077,
      "stat2": 44,
      "stat2_median": 1,
      "stat2_std_dev": 2.24926023341745,
      "id": "b7f6ffb3-6222-4807-989e-bafa71c607f2"
    },
    "twitter": {
      "posts": 14,
      "stat1": 68,
      "stat1_median": 3,
      "stat1_std_dev": 7.10992407893103,
      "stat2": 0,
      "stat2_median": 0,
      "stat2_std_dev": 0.0,
      "stat3": 66,
      "stat3_median": 2,
      "stat3_std_dev": 6.43015853424394,
      "reply_coverage": 0.0,
      "id": "5a1f845f-1adf-4c24-97cf-1b627e02495c"
    },
    "facebook": {
      "posts": 0,
      "stat1": 0,
      "stat1_median": null,
      "stat1_std_dev": null,
      "stat2": 0,
      "stat2_median": null,
      "stat2_std_dev": null,
      "stat3": 0,
      "stat3_median": null,
      "stat3_std_dev": null,
      "id": "1269d4c4-fa7e-4ff1-8405-d4ff97294c3a"
    }
  }
}
Field Data type Description values
entries integer Total amount of entries in this campaign
engagement integer Total amount of likes, retweets and comments on all of the entries.
id integer ID of the report. This is same as the campaign's ID.
potential_reach integer Total number of followers of users who shared the content
instagram embedded Hash containing information about campaign's Instagram content. See also, field descriptions.
twitter embedded Hash containing information about campaign's Twitter content. See also, field descriptions.
facebook embedded Hash containing information about campaign's Facebook content. See also, field descriptions.