{"id":273,"date":"2018-12-16T23:15:39","date_gmt":"2018-12-16T23:15:39","guid":{"rendered":"https:\/\/developer.feedblitz.com\/docs\/rest-api\/api-reference\/reports-and-analytics\/"},"modified":"2018-12-21T15:00:22","modified_gmt":"2018-12-21T20:00:22","slug":"reports-and-analytics","status":"publish","type":"docs","link":"https:\/\/developer.feedblitz.com\/docs\/rest-api\/api-reference\/reports-and-analytics\/","title":{"rendered":"Reports and Analytics"},"content":{"rendered":"\n<p> Resource path: \/report\/&lt;listid><\/p>\n\n\n\n<p>The report resource parallels the reports available in the FeedBlitz user interface. The default (used by a simple GET) is the delivery metrics report for the selected list covering the most recent 7 days. <\/p>\n\n\n\n<p>Methods:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET,\nPOST <\/p>\n\n\n\n<p>Example:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/report\/84<\/p>\n\n\n\n<p>Parameters are:<\/p>\n\n\n\n<table class=\"wp-block-table is-style-stripes\"><tbody><tr><td><strong>Parameter<\/strong><\/td><td><strong>Remarks<\/strong><\/td><\/tr><tr><td><strong>type<\/strong><\/td><td>The type of report requested. Valid types are:<br><br> 0: Click through summary<br> 2: Open analysis<br> 5: Click throughs by reader<br> 6: Opens by reader<br> 7: Click throughs by tag<br> 9: Unsubscribe summary<br> 10: New subscription referrers<br> 11: Delivery metrics<br> 12: Engagement<br> 13: Subscriber count history<\/td><\/tr><tr><td><strong>range<\/strong><\/td><td>Number of historic days\u2019 data to fetch relative to now. Default is 7, the most recent 7 days.<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>You can supply these parameters as URL parameters in a GET, or as XML in a POST, like this example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;feedblitzapi version=\"1.0\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\">\n  &lt;report>\n  &lt;type>11&lt;\/type>\n  &lt;range>7&lt;\/range>\n  &lt;\/report>\n&lt;\/feedblitzapi><\/code><\/pre>\n\n\n\n<p>Note: Long time frames for large lists may result in time\nouts. If you encounter persistent performance problems please contact FeedBlitz\ntech support.<\/p>\n\n\n\n<p>The data returned by the API is analogous to the rows of the\ncorresponding tables in the FeedBlitz API. Each row\u2019s data set is surrounded by\na set of &lt;values&gt; tags; the tags within each set vary by report. <\/p>\n\n\n\n<p>Here is an example two row result set for the delivery metrics type:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?>\n&lt;feedblitzapi version=\"1.0\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\">\n&lt;rsp stat=\"ok\">\n&lt;success code=\"0\" msg=\"Authorized\" \/>\n&lt;\/rsp>\n&lt;report>\n\t&lt;values>\n\t\t&lt;Cycle_ID>4030813&lt;\/Cycle_ID>\n\t\t&lt;Cycle>Four Hour [2011.06.14 12:00]&lt;\/Cycle>\n\t\t&lt;Sent>1&lt;\/Sent>\n\t\t&lt;Opens>&lt;\/Opens>\n\t\t&lt;Clicks>&lt;\/Clicks>\n\t\t&lt;Unsubs>&lt;\/Unsubs>\n\t\t&lt;SoftBounces>&lt;\/SoftBounces>\n\t\t&lt;HardBounces>&lt;\/HardBounces>\n\t\t&lt;Complaints>&lt;\/Complaints>\n\t\t&lt;Fwds>&lt;\/Fwds>\n\t&lt;\/values>\n\t&lt;values>\n\t\t&lt;Cycle_ID>4030808&lt;\/Cycle_ID>\n\t\t&lt;Cycle>12 Hour [2011.06.14 12:00]&lt;\/Cycle>\n\t\t&lt;Sent>3&lt;\/Sent>\n\t\t&lt;Opens>3 (100.0%)&lt;\/Opens>\n\t\t&lt;Clicks>1 (33.3%)&lt;\/Clicks>\n\t\t&lt;Unsubs>&lt;\/Unsubs>\n\t\t&lt;SoftBounces>&lt;\/SoftBounces>\n\t\t&lt;HardBounces>&lt;\/HardBounces>\n\t\t&lt;Complaints>&lt;\/Complaints>\n\t\t&lt;Fwds>&lt;\/Fwds>\n\t&lt;\/values>\n&lt;\/report>\n&lt;\/feedblitzapi><\/code><\/pre>\n\n\n\n<p>Where present, the &lt;cycle_id> inner content directly maps to a single send (i.e. a mailing id) and its corresponding archive URL, of the form:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:\/\/archive.feedblitz.com\/&lt;listid>\/~&lt;cycle_id><\/code><\/pre>\n\n\n\n<p>e.g. <a href=\"http:\/\/archive.feedblitz.com\/84\/~4031278\">https:\/\/archive.feedblitz.com\/84\/~4031278<\/a> <\/p>\n","protected":false},"featured_media":0,"parent":254,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-273","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/docs\/273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/comments?post=273"}],"version-history":[{"count":2,"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/docs\/273\/revisions"}],"predecessor-version":[{"id":442,"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/docs\/273\/revisions\/442"}],"up":[{"embeddable":true,"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/docs\/254"}],"next":[{"title":"Mailing Metrics","link":"https:\/\/developer.feedblitz.com\/docs\/rest-api\/api-reference\/mailing-metrics\/","href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/docs\/274"}],"prev":[{"title":"Mailing Templates and Mail Merge Shortcodes","link":"https:\/\/developer.feedblitz.com\/docs\/rest-api\/api-reference\/mailing-templates\/","href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/docs\/272"}],"wp:attachment":[{"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/media?parent=273"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developer.feedblitz.com\/wp-json\/wp\/v2\/doc_tag?post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}