{"id":108647,"date":"2021-06-30T17:35:24","date_gmt":"2021-06-30T08:35:24","guid":{"rendered":"https:\/\/support.questetra.com\/?p=108647"},"modified":"2023-08-10T14:51:56","modified_gmt":"2023-08-10T05:51:56","slug":"wordpress-com-stats-get-views-2021","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/wordpress-com-stats-get-views-2021\/","title":{"rendered":"WordPress.com #Stats: Get Views"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#003e04;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#267137;color:#ffffff;border-top-left-radius:0px;border-top-right-radius:0px\">Wordpress.com: Stats, Get Views<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\"> Gets the number of times the specified article has been viewed. Gets the subtotal for the specified period and the total for the entire period from Jetpack. It is also possible to obtain the daily values for the specified period in TSV format.<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<ul class=\"fa-ul\">\n<li>U: Select HTTP_Authz Setting<span style=\"color:#990000;\"> *<\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> A1: Set WordPress.Com Domain (e.g. &#8220;example.com&#8221; or ID)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B1: Set Post&#8217;s ID<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B2: Set Start Date of Period (eg &#8220;2021-06-01&#8221;)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B3: Set End Date of Period (eg &#8220;2022-06-30&#8221;)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li> C1: Select NUM that stores Views Subtotal in Period (update)<\/li>\n<li> C2: Select NUM that stores Views Total in Full Period (update)<\/li>\n<li> C3: Select STRING that stores Date-Views TSV (update)<\/li>\n<li> C4: Select STRING that stores Date-Views TSV for Chart (update)<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script (click to open)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS Script (engine type: 2)\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strAuthzSetting      = configs.get      ( &quot;AuthzConfU&quot; );    \/\/\/ REQUIRED\n  engine.log( &quot; AutomatedTask Config: Authz Setting: &quot; + strAuthzSetting );\nconst strWpcomDomain       = configs.get      ( &quot;StrConfA1&quot; );     \/\/\/ REQUIRED\n  if( strWpcomDomain     === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A1: WordPress.com domain} is empty \\n&quot; );\n  }\nconst strPostId            = configs.get      ( &quot;StrConfB1&quot; );     \/\/\/ REQUIRED\n  if( strPostId          === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {B1: PostID} is empty \\n&quot; );\n  }\nconst strPeriodStart       = configs.get      ( &quot;StrConfB2&quot; ).substring(0, 10); \/\/\/ REQUIRED\n  if( strPeriodStart     === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {B2: PeriodStart} is empty \\n&quot; );\n  }\nconst strPeriodEnd         = configs.get      ( &quot;StrConfB3&quot; ).substring(0, 10); \/\/\/ REQUIRED\n  if( strPeriodEnd       === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {B3: PeriodEnd} is empty \\n&quot; );\n  }\nconst numPocketSubtotal    = configs.getObject( &quot;SelectConfC1&quot; );  \/\/ NotRequired\nconst numPocketTotal       = configs.getObject( &quot;SelectConfC2&quot; );  \/\/ NotRequired\nconst strPocketTsv         = configs.getObject( &quot;SelectConfC3&quot; );  \/\/ NotRequired\nconst strPocketTsvSwitched = configs.getObject( &quot;SelectConfC4&quot; );  \/\/ NotRequired\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Some workflow data is referenced via Expression Language in Config.)\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\/\/\/ Get Views\n\/\/\/ WordPress.com REST API\n\/\/\/ https:\/\/developer.wordpress.com\/docs\/api\/1.1\/get\/sites\/%24site\/stats\/post\/%24post_id\/\n\/\/ request1, prepare\nlet request1Uri = &quot;https:\/\/public-api.wordpress.com\/rest\/v1.1\/sites\/&quot; +\n                   strWpcomDomain + &quot;\/stats\/post\/&quot; + strPostId;\n\nlet request1    = httpClient.begin(); \/\/ HttpRequestWrapper\n    request1    = request1.authSetting( strAuthzSetting ); \/\/ with &quot;Authorization: Bearer XX&quot;\n    request1    = request1.queryParam( &quot;fields&quot;, &quot;views,data&quot; );\n    \/\/ https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360024574471-R2300#HttpRequestWrapper\n\/\/ request1, try\nconst response1     = request1.get( request1Uri ); \/\/ HttpResponseWrapper\nengine.log( &quot; AutomatedTask ApiRequest1 Start: &quot; + request1Uri );\nconst response1Code = response1.getStatusCode() + &quot;&quot;;\nconst response1Body = response1.getResponseAsString() + &quot;&quot;;\nengine.log( &quot; AutomatedTask ApiResponse Status: &quot; + response1Code );\nif( response1Code !== &quot;200&quot;){\n  throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                    response1Code + &quot;\\n&quot; + response1Body + &quot;\\n&quot; );\n}\n\/\/ response1, parse\n\/* \nengine.log( response1Body ); \/\/ debug\n{\n  &quot;views&quot;:1,\n  &quot;data&quot;:[\n    [&quot;2021-06-25&quot;,0],\n    [&quot;2021-06-26&quot;,0],\n    [&quot;2021-06-27&quot;,0],\n    [&quot;2021-06-28&quot;,0],\n    [&quot;2021-06-29&quot;,1],\n    [&quot;2021-06-30&quot;,0]\n  ]\n}\n*\/\nconst response1Obj = JSON.parse( response1Body );\nconst datePeriodStart = toJsDate( strPeriodStart );\nconst datePeriodEnd   = toJsDate( strPeriodEnd );\nlet numSubtotal = 0;\nlet strTsv = &quot;date\\tviews\\n&quot;;\nlet strTsvSwitchedDate = &quot;date\\t&quot;;\nlet strTsvSwitchedViews = &quot;views\\t&quot;;\nfor( let i = 0; i &lt; response1Obj.data.length; i++ ){\n  let dateTmp = toJsDate( response1Obj.data[i][0] );\n  if( datePeriodStart.getTime() &lt;= dateTmp.getTime() ){\n    if( dateTmp.getTime() &lt;= datePeriodEnd.getTime() ){\n      numSubtotal         += response1Obj.data[i][1];\n      strTsv              += response1Obj.data[i][0] + &quot;\\t&quot; + response1Obj.data[i][1] + &quot;\\n&quot;;\n      strTsvSwitchedDate  += response1Obj.data[i][0] + &quot;\\t&quot;;\n      strTsvSwitchedViews += response1Obj.data[i][1] + &quot;\\t&quot;;\n    }else{\n      break;\n    }\n  }\n}\nstrTsv = strTsv.slice(0, -1);                           \/\/ Remove Last &quot;\\n&quot;\nstrTsvSwitchedDate  = strTsvSwitchedDate.slice(0, -1);  \/\/ Remove Last &quot;\\t&quot;\nstrTsvSwitchedViews = strTsvSwitchedViews.slice(0, -1); \/\/ Remove Last &quot;\\t&quot;\nlet strTsvSwitched  = strTsvSwitchedDate + &quot;\\n&quot; + strTsvSwitchedViews;\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nif(               numPocketSubtotal    !== null ){\n  engine.setData( numPocketSubtotal,   new java.math.BigDecimal( numSubtotal ) );\n}\nif(               numPocketTotal       !== null ){\n  engine.setData( numPocketTotal,      new java.math.BigDecimal( response1Obj.views - 0 ) );\n}\nif(               strPocketTsv         !== null ){\n  engine.setData( strPocketTsv,        strTsv );\n}\nif(               strPocketTsvSwitched !== null ){\n  engine.setData( strPocketTsvSwitched, strTsvSwitched );\n}\n\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\nfunction toJsDate( bpmsDateOrDatetimeStr ){\n  \/\/ BPMS Date:     &quot;2020-04-01&quot;  (subtype &quot;Y\/M&quot; &quot;M\/D&quot; &quot;Y&quot;, not supported)\n  \/\/ BPMS Datetime: &quot;2020-04-01 23:59&quot;\n  let year       = 0;\n  let monthIndex = 0;\n  let day        = 0;\n  let hours      = 0;\n  let minutes    = 0;\n\n  \/\/  The ECMA\/JavaScript Date object has a large number of methods.\n  \/\/ &quot;Date.parse&quot; is danger (strongly discouraged)\n  \/\/ - new Date(&quot;2014-11-10&quot;) \/\/ Mon Nov 10 2014 09:00:00 GMT+0900 (JST)\n  \/\/ - new Date(2014, 10, 10) \/\/ Mon Nov 10 2014 00:00:00 GMT+0900 (JST)\n  let arrDatetime = bpmsDateOrDatetimeStr.split(&quot; &quot;);\n  if( arrDatetime.length === 1 ){\n    let arrDateParts = arrDatetime[0].split(&quot;-&quot;);\n    year       = parseInt(arrDateParts[0], 10);\n    monthIndex = parseInt(arrDateParts[1], 10) - 1;\n    day        = parseInt(arrDateParts[2], 10);\n  }\n  if( arrDatetime.length === 2 ){\n    let arrDateParts = arrDatetime[0].split(&quot;-&quot;);\n    let arrTimeParts = arrDatetime[1].split(&quot;:&quot;);\n    year       = parseInt(arrDateParts[0], 10);\n    monthIndex = parseInt(arrDateParts[1], 10) - 1;\n    day        = parseInt(arrDateParts[2], 10);\n    hours      = parseInt(arrTimeParts[0], 10);\n    minutes    = parseInt(arrTimeParts[1], 10);\n  }\n  return new Date( year, monthIndex, day, hours, minutes );\n}\n\n\n\/*\nNotes-en:\n- Refers Jetpack stats for your WordPress.com account.\n    - WordPress.com is a service that hosts WordPress sites. It is provided by Automattic itself.\n- Request is made to the &quot;WordPress.com REST API&quot; (WP.COM API).\n    - https:\/\/developer.wordpress.com\/docs\/api\/\n    - Note: Not the &quot;WP.REST API&quot; for WordPress.Org.\n- For the ID of the existing article, refer to the URL of the edit screen.\n    - Number following `post =`\n- &quot;Date-Views TSV for Chart&quot; is a TSV with the rows and columns switched.\n    - The horizontal axis (X axis) is the date. It can be used as data for bar and line charts.\n- If the date is set in the datetime format, the time part will be ignored.\n    - Example: &quot;2021-12-31 12:34&quot; \u2192 &quot;2021-12-31&quot;\n- If a day without logs is specified, that the number of views is considered to be 0.\n    - No error will occur.\n\nAPPENDIX-en\n- You can also refer to it by &quot;Site ID&quot; (blogid) instead of the WordPress.Com domain.\n    - Site ID (blogid) is obtained from `GET v1.1\/sites\/example.blog\/` and the &quot;View page source&quot;.\n- Setting example of &quot;HTTP Authentication&quot; (OAuth2)\n    - Authorization Endpoint URL:\n        - https:\/\/public-api.wordpress.com\/oauth2\/authorize\n    - Token Endpoint URL:\n        - https:\/\/public-api.wordpress.com\/oauth2\/token\n    - Scope:\n        - &quot;global&quot;, &quot;&quot;, &quot;auth&quot; or &quot;media&quot;\n        - (document) https:\/\/developer.wordpress.com\/docs\/oauth2\/\n        - By default, the token will grant the application full access to a single blog.\n        - Needs a &quot;global&quot; scope, if to access to all the blogs that users have on WordPress.com.\n    - Client ID, Consumer Secret:\n        - ( from https:\/\/developer.wordpress.com\/apps\/ )\n        - Redirect URLs: https:\/\/s.questetra.net\/oauth2callback\n\nNotes-ja:\n- WordPress.com \u30a2\u30ab\u30a6\u30f3\u30c8\u306e Jetpack \u7d71\u8a08\u5024\u3092\u53c2\u7167\u3057\u307e\u3059\u3002\n    - WordPress.com \u306f WordPress sites \u3092\u30db\u30b9\u30c8\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002Automattic \u793e\u81ea\u8eab\u304c\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\n- &quot;WordPress.com REST API&quot; (WP.COM API) \u306b\u5bfe\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6295\u3052\u3089\u308c\u307e\u3059\u3002\n    - https:\/\/developer.wordpress.com\/docs\/api\/\n    - \u6ce8\uff1a WordPress.Org \u7528\u306e &quot;WP.REST API&quot; \u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\n- \u65e2\u5b58\u8a18\u4e8b\u306eID\u306f\u3001\u7de8\u96c6\u753b\u9762\u306eURL\u7b49\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    - `post=` \u306b\u7d9a\u304f\u6570\u5b57\n- \u300cDate-Views TSV\uff08\u30b0\u30e9\u30d5\u7528\uff09\u300d\u306f\u300cDate-Views TSV\u300d\u306e\u884c\u3068\u5217\u304c\u5165\u308c\u66ff\u308f\u3063\u305fTSV\u3067\u3059\u3002\n    - \u6a2a\u8ef8\uff08X\u8ef8\uff09\u304c\u65e5\u4ed8\u3068\u306a\u308a\u307e\u3059\u3002\u68d2\u30b0\u30e9\u30d5\u3084\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u306e\u30c7\u30fc\u30bf\u3068\u3057\u3066\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002\n- \u65e5\u4ed8\u304c\u65e5\u6642\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u8a2d\u5b9a\u3055\u308c\u305f\u5834\u5408\u3001\u6642\u523b\u90e8\u5206\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002\n    - \u4f8b: &quot;2021-12-31 12:34&quot; \u2192 &quot;2021-12-31&quot;\n- \u30ed\u30b0\u306e\u306a\u3044\u6642\u671f\u304c\u6307\u5b9a\u3055\u308c\u305f\u5834\u5408\u3001\u5f53\u8a72\u65e5\u306f 0 \u3068\u307f\u306a\u3057\u307e\u3059\u3002\n    - \u30a8\u30e9\u30fc\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002\n\nAPPENDIX-ja:\n- WordPress.Com \u30c9\u30e1\u30a4\u30f3\u306e\u4ee3\u308f\u308a\u306b\u300c\u30b5\u30a4\u30c8ID\u300d\uff08blogid\uff09\u3067\u53c2\u7167\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\n    - \u30b5\u30a4\u30c8ID\uff08blogid\uff09\u306f\u3001&quot;`GET v1.1\/sites\/example.blog\/`&quot; \u3084 &quot;\u30da\u30fc\u30b8\u306e\u30bd\u30fc\u30b9&quot; \u7b49\u304b\u3089\u53d6\u5f97\u3057\u307e\u3059\u3002\n- &quot;HTTP\u8a8d\u8a3c\u8a2d\u5b9a&quot; \u306e\u4f8b (OAuth2)\n    - \u8a8d\u53ef\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8 URL:\n        - https:\/\/public-api.wordpress.com\/oauth2\/authorize\n    - \u30c8\u30fc\u30af\u30f3\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8 URL:\n        - https:\/\/public-api.wordpress.com\/oauth2\/token\n    - \u30b9\u30b3\u30fc\u30d7:\n        - &quot;global&quot;, &quot;&quot;, &quot;auth&quot; or &quot;media&quot;\n        - (document) https:\/\/developer.wordpress.com\/docs\/oauth2\/\n        - \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\uff11\u3064\u306e blog \u306b\u5bfe\u3059\u308b\u30a2\u30af\u30bb\u30b9\u304c\u8a8d\u53ef\u3055\u308c\u307e\u3059\u3002\n        - \u5168\u4fdd\u6709 blogs \u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f &quot;global&quot; \u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\n    - \u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID, \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b7\u30fc\u30af\u30ec\u30c3\u30c8:\n        - ( \u958b\u767a\u8005\u30da\u30fc\u30b8\u304b\u3089\u53d6\u5f97\u3057\u3066\u304f\u3060\u3055\u3044\u21d2 https:\/\/developer.wordpress.com\/apps\/ )\n        - Redirect URLs: https:\/\/s.questetra.net\/oauth2callback\n*\/\n\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image alignright\"><a href=\"#\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAFqUlEQVRYR8VXe1BUVRz+7t0FYVnA\ndVEkBJFACRRkdZVQEEwLUwJsxkalxnw0ajnluGhljY+csQTDqRmlNB+jSeY7pMgyNVAYWUUR2RAY\nUUACXVbkDbv3NufArvu4C0w1w\/nznnN+v+\/8vu\/3uAwGeTED9r85SyJy0c\/nGcQCTDgAPwCy3vs6\nAFUAX8TwuGhoFZ\/C5vi2gdjuH8CO7JGsSL8BPFYCvNNAjAJMBxhkcAbxF1g\/9+++7vQJgE07S5ym\nAXAZmGObU60Ao+JUCRn27tsFwO48uxs8v+pfOra8xjB7uHUJq4VsCQJg004fBZiF\/4tzkxE+k1Ml\nLbK2aQOgr5e7OoqxfMJoJAZ6IVAmhUQsovYetXeiuOEpDmuqcaa8zj5ugUhYAOjlfI+QhfVTAvG+\n4nk4iVncbGjCb\/cbUNPcQY8GDZNitt8IhMhdodG2YGNeKc5XNdgBwqwy18QzAETtbHeFteDIq\/e9\nEo6XfIfje001PsnToLlLL2h8ho8HtkQGIcTDFTuuVSC1sFzoXCvHOQQYs8MEgN15Nh08\/4H1jYNz\nFIjx8cDGXA0F0N\/aGDEWaxT+cGBZfJxbim9uVdleYZhd3LqEtWSjB8DmLAkr5bTWeb5hSiDeC\/fH\ntoIy5NZo4esmwZVaLchLCQ01ze30etQoObTtXXR\/f1w4PCVD6Pd7TW1IzlajoI7UKfPFdHAtrJwU\nKwpAlHo6mWeYw+ZHxsqk+PE1JSZ4uNHPT7v0KKzT4dviKgoqbIQ73BzF0HM8yp+04FBJNdT1Ohya\nMwne0p56ZeB5HC+rxeLs6zZRYHj+TUNK0hEKgE07\/R3ALDU\/9eFUo+hE1FF9WyeW5hQh5149PZaV\nFIFX\/T3B8Tz2Ft\/H6t9v0e8H4hRIDh4FlmGgrn8C2RAHvPXzdYEo8Ps5VdKyXgBnbgAg9d20ziRO\nhdzZER16A2b6Dkc3xyFdXYmPckvpmRRlIDZFjoOzWISihibEHsuj4ozwkuHovMmUjhNltVB6yZBx\ns0pIkEWcKlFhBNBo1liog8LkGJQ8fooyXTM+jQii6Ud0EHMsj+4TirLmRyBgqAt0Hd1Y80cxMjU1\ndC\/n9RcxfZQcn+WXYXGwDy5XP8aaC8XWNOg4VeIwIwDeevf2kpkoeNhIOf8hXgk\/N4kNDbkLoxD5\n3DAbGjLnTYbCcyjiTxXgZMIUamfF+Zs2OuBUiUy\/AMhFYnDBOG8LGuLGeGL3rFCMdHHCEBFrQQOJ\nXsWTFiw8p4bxIf0BsKGAhJGsuJP5WDVxDD6PDobUQWyiYXtUME1H4nziCHcTDUQHX8aMR\/r1Skrh\n3pfDaf0gdFgtCwpsRJg6IwQJAV5UwXe0zbiyKJqWWmM2pCgDUKptpjZXhpHZBDQbmjq7McffEwt+\nKsT8sV54d6I\/1l68jRN3H1oDMBehbRqSEGfMDqPCIsrfPSsMK0JH09w+WPIAkd5ybL36F1q6Dabi\nQ7Khsb2LNieS+5femE6dGoVricAsDYUKkTGno33kWP5rEeX665mhkDk5oK61A1VNbZiemUttEkek\nGpLwE+fb8u\/Cz12Cd0L9sOmqBvuK79sI0KIQ2SvFwXJXHJk7CZ0GDstyimiVU3i60+r31Y1KpFy+\nQw1vmRaE9cpAOIpYSldaYTm2TnsBl6ofY8kvhF3rZVWKyba9ZkSo2BU7gWZAXq0Wb4\/3pYIjqj5X\n2TPuGYuPj6sz\/qzRYryHG67V6bAoWy3cOW2aEbFipx0bHWyPDqE5L2IZ5D9sRFRv+Mk+adnH45V0\nJmjXG3Cg5AHthHbatnA7plHoGUIFBxKynxzsQxsRaVA8eEoFWaRKtnQZcOHBI6SrKwTqvjkF9gaS\n3jMDHUZjfT3gLXWmWXGrocmUkgKEP\/vU30hmPDmoQ6kJxGCO5c8iMYg\/JibiBvPXzEJQg\/Zz2qes\n\/\/vmP5QvxD81Cuj5AAAAAElFTkSuQmCC\n\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/file\/d\/1k7pzLFp6HLqGO9-EqKUpja8zhcf2vwIJ\/view?usp=drivesdk\" target=\"_blank\">WordPress-Com-Stats-Get-Views-2021.xml<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/17KWUb3ISG1MASmsiq47oRMJpDbwMyXu3\/view?usp=sharing\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/17KWUb3ISG1MASmsiq47oRMJpDbwMyXu3\/view?usp=sharing\">WordPress-Com-Stats-Get-Views-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-08-08 (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>for &#8220;GraalJS standard (engine-type 3)&#8221; on v15.0 or above<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\">2021-06-29 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/wordpress-com-stats-get-views-2021\/\">https:\/\/support.questetra.com\/addons\/wordpress-com-stats-get-views-2021\/<\/a><br><i class=\"fal fa-info-circle\"><\/i> The Add-on import feature is available with <span style=\"color:#4a86e8\" class=\"has-inline-color\"><strong>Professional<\/strong><\/span> edition.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>See the Jetpack stats for your WordPress.com account.\n<ul class=\"wp-block-list\">\n<li>WordPress.com is a service that hosts WordPress sites. It is provided by Automattic itself.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>A request is made to the WordPress.com REST API (WP.COM API).\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.wordpress.com\/docs\/api\/\" rel=\"nofollow\">https:\/\/developer.wordpress.com\/docs\/api\/<\/a><\/li>\n\n\n\n<li>Note: Not the WP.REST API for WordPress.Org.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>For the ID of the existing article, refer to the URL of the edit screen.\n<ul class=\"wp-block-list\">\n<li>Number following <code>post=<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&#8220;Date-Views TSV (for graphs)&#8221; is a TSV with the rows and columns switched.\n<ul class=\"wp-block-list\">\n<li>The horizontal axis (X axis) is the date. It can be used as data for bar and line charts.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If the date is set in the datetime format, the time part will be ignored.\n<ul class=\"wp-block-list\">\n<li>Example: &#8220;2021-12-31 12:34&#8221; \u2192 &#8220;2021-12-31&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If a day without logs is specified, that the number of views is considered to be 0.\n<ul class=\"wp-block-list\">\n<li>No error will occur.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"108651\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/wordpress-com-stats-get-views-2021\/attachment\/wordpress-com-stats-get-views-2021-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"wordpress-com-stats-get-views-2021-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Gets the number of the specified article has been viewed. Gets the &quot;subtotal&quot; for the specified period and the &quot;total&quot; for the entire period from Jetpack. It is also possible to obtain the daily values for the specified period in TSV format.\" class=\"wp-image-108651\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-capture-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default q-box\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1199\" height=\"1135\" data-attachment-id=\"108653\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/wordpress-com-stats-get-views-2021\/attachment\/wordpress-com-stats-get-views-2021-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?fit=1199%2C1135&amp;ssl=1\" data-orig-size=\"1199,1135\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"wordpress-com-stats-get-views-2021-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?fit=666%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?resize=1199%2C1135&#038;ssl=1\" alt=\"Gets the number of the specified article has been viewed. Gets the &quot;subtotal&quot; for the specified period and the &quot;total&quot; for the entire period from Jetpack. It is also possible to obtain the daily values for the specified period in TSV format.\" class=\"wp-image-108653\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?w=1199&amp;ssl=1 1199w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?resize=333%2C315&amp;ssl=1 333w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?resize=666%2C630&amp;ssl=1 666w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-config-en.png?resize=768%2C727&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-book\"><\/i> Appendix<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can also refer to it by Site ID (blogid) instead of the WordPress.Com domain.\n<ul class=\"wp-block-list\">\n<li>Site ID (blogid) is obtained from <code>GET v1.1\/sites\/example.blog\/<\/code> and the &#8220;View page source&#8221;.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Setting example of &#8220;HTTP Authentication&#8221; (OAuth2)\n<ul class=\"wp-block-list\">\n<li>Authorization Endpoint URL:\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/public-api.wordpress.com\/oauth2\/authorize\" rel=\"nofollow\">https:\/\/public-api.wordpress.com\/oauth2\/authorize<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Token Endpoint URL:\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/public-api.wordpress.com\/oauth2\/token\" rel=\"nofollow\">https:\/\/public-api.wordpress.com\/oauth2\/token<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Scope:\n<ul class=\"wp-block-list\">\n<li>&#8220;global&#8221;, &#8220;&#8221;, &#8220;auth&#8221; or &#8220;media&#8221;<\/li>\n\n\n\n<li>(document) <a href=\"https:\/\/developer.wordpress.com\/docs\/oauth2\/\" rel=\"nofollow\">https:\/\/developer.wordpress.com\/docs\/oauth2\/<\/a><\/li>\n\n\n\n<li>By default, the token will grant the application full access to a single blog.<\/li>\n\n\n\n<li>Needs a &#8220;global&#8221; scope, if to access to all the blogs that users have on WordPress.com.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Client ID, Consumer Secret:\n<ul class=\"wp-block-list\">\n<li>( from <a href=\"https:\/\/developer.wordpress.com\/apps\/\" rel=\"nofollow\">https:\/\/developer.wordpress.com\/apps\/<\/a> )<\/li>\n\n\n\n<li>Redirect URLs: <a href=\"https:\/\/s.questetra.net\/oauth2callback\" rel=\"nofollow\">https:\/\/s.questetra.net\/oauth2callback<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"WEHqlyxNky\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/wordpress-com-posts-create-draft-2021\/\">WordPress.com #Posts: Create Draft<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;WordPress.com #Posts: Create Draft&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/wordpress-com-posts-create-draft-2021\/embed\/#?secret=eTyeEzqYAo#?secret=WEHqlyxNky\" data-secret=\"WEHqlyxNky\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p> Gets the number of times the specified article has been viewed. Gets the subtotal for the specified period and the total for the entire period from Jetpack. It is also possible to obtain the daily values for the specified period in TSV format.<\/p>\n","protected":false},"author":2,"featured_media":108648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"Gets the number of the specified article has been viewed. Gets the \"subtotal\" for the specified period and the \"total\" for the entire period from Jetpack. It is also possible to obtain the daily values for the specified period in TSV format.","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[3167,482],"class_list":["post-108647","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-authsetting","tag-wordpress-com-api"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/wordpress-com-stats-get-views-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":1,"uagb_excerpt":"Gets the number of times the specified article has been viewed. Gets the subtotal for the specified period and the total for the entire period from Jetpack. It is also possible to obtain the daily values for the specified period in TSV format.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-sgn","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":73540,"url":"https:\/\/support.questetra.com\/en\/addons\/wordpress-com-stats-views\/","url_meta":{"origin":108647,"position":0},"title":"WordPress.Com: Stats Views","author":"IMAMURA, Genichi","date":"2018-12-12","format":false,"excerpt":"Gets a post's views. By specifying WORDPRESS-DOMAIN and POST'ID, the cumulative number of page views is stored.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/12\/wordpress-stats-views-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/12\/wordpress-stats-views-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/12\/wordpress-stats-views-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/12\/wordpress-stats-views-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/12\/wordpress-stats-views-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":75287,"url":"https:\/\/support.questetra.com\/en\/templates\/shipment-bpo-flow-20150223\/","url_meta":{"origin":108647,"position":1},"title":"Shipment BPO Flow","author":"Hirotaka NISHI","date":"2021-03-15","format":false,"excerpt":"Outsources packaging\/inspection\/shipment operation. The destination and Commodity are entered at the Task of [1. Enter Shipping instruction], then outsourced for and [4. Packing] and [5. Inspection] after confirmation by the Leader.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/02\/eye-catch-shipment-bpo-flow-20150223-209-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/02\/eye-catch-shipment-bpo-flow-20150223-209-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/02\/eye-catch-shipment-bpo-flow-20150223-209-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/02\/eye-catch-shipment-bpo-flow-20150223-209-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/02\/eye-catch-shipment-bpo-flow-20150223-209-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":78692,"url":"https:\/\/support.questetra.com\/en\/templates\/bpo-shipment-process-20150302\/","url_meta":{"origin":108647,"position":2},"title":"BPO Shipment App","author":"Hirotaka NISHI","date":"2021-03-09","format":false,"excerpt":"Receive product delivery information, pack and ship. It is automatically started when delivery information is received from the consignor via HTTP communication. An invoice is automatically generated, and when the [1. Packing completion] process is completed, \"Packing complete\" is reported to the consignor's business process. If \u201cinspection\u201d is instructed as\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/eye-catch-bpo-shipment-process-20150302-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/eye-catch-bpo-shipment-process-20150302-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/eye-catch-bpo-shipment-process-20150302-220-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/eye-catch-bpo-shipment-process-20150302-220-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/08\/eye-catch-bpo-shipment-process-20150302-220-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":75346,"url":"https:\/\/support.questetra.com\/en\/templates\/online-estimate-storage-flow-20161011\/","url_meta":{"origin":108647,"position":3},"title":"Online Estimate Storage Flow","author":"Hirotaka NISHI","date":"2022-12-21","format":false,"excerpt":"Stores quotation PDF automatically to share. A quotation PDF is automatically generated after the submittee, details and total amount are entered at the Task of \"Drafting Quotation\". After the quotation is submitted, the quotation which succeeded in the contract is automatically uploaded to the Dropbox folder.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-online-estimate-storage-flow-20161011-218-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-online-estimate-storage-flow-20161011-218-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-online-estimate-storage-flow-20161011-218-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-online-estimate-storage-flow-20161011-218-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-online-estimate-storage-flow-20161011-218-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":76841,"url":"https:\/\/support.questetra.com\/en\/templates\/website-analytics-report-process-20170814\/","url_meta":{"origin":108647,"position":4},"title":"Website Analytics Report Process","author":"Hirotaka NISHI","date":"2021-04-05","format":false,"excerpt":"Starts periodically to obtain access information and automatically delivers a report by an email. Generates reports automatically based on the information obtained from Google Analytics and Google Calendar using the API. The marketing staff is able to make appending and correction on reports.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/06\/eye-catch-website-analytics-report-process-20170814-220-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":85651,"url":"https:\/\/support.questetra.com\/en\/addons\/string-get-number-of-words\/","url_meta":{"origin":108647,"position":5},"title":"String, Get Number of Words","author":"IMAMURA, Genichi","date":"2020-03-25","format":false,"excerpt":"Gets the number of words in the text. Words separated by spaces (including tabs, double-byte spaces, and line breaks) are counted. The number of words counted, including commas and periods as delimiters, can also be obtained.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"String, Get Number of Words","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/String-Get-Number-of-Words-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/String-Get-Number-of-Words-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/String-Get-Number-of-Words-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/String-Get-Number-of-Words-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/String-Get-Number-of-Words-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/108647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=108647"}],"version-history":[{"count":9,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/108647\/revisions"}],"predecessor-version":[{"id":149385,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/108647\/revisions\/149385"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/108648"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=108647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=108647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=108647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}