{"id":116123,"date":"2021-10-28T15:31:47","date_gmt":"2021-10-28T06:31:47","guid":{"rendered":"https:\/\/support.questetra.com\/?p=116123"},"modified":"2022-04-14T15:41:13","modified_gmt":"2022-04-14T06:41:13","slug":"google-analytics-reports-pageviews-by-hostname-pagepath-2021","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/google-analytics-reports-pageviews-by-hostname-pagepath-2021\/","title":{"rendered":"Google Analytics: Reports, Pageviews by Hostname-PagePath"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><div class=\"su-box su-box-style-soft\" id=\"\" style=\"border-color:#cc66cc;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#ff99ff;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\">Google Analytics: Reports, Pageviews by Hostname-PagePath<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\"> Reports the page popularity in the specified period in ranking format. It is also possible to check the details of the number of page views, the number of sessions and initiations can also be viewed in TSV format. filtersExpression is also available.<\/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><span class=\"fa-li\"><i class=\"fal fa-badge-check fa-lg\"><\/i><\/span> 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 View-ID in Google Analytics<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 StartDate of DateRange (Default #today)<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 EndDate of DateRange (Default #today)<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 FiltersExpression<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> C1: Select NUM that stores Total of Pageviews (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> C2: Select NUM that stores Total of UniquePageviews (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> C3: Select NUM that stores Total of Sessions (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> C4: Select NUM that stores Total of Entrances (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> D1: Set Number of Ranking Size (Default &#8220;20&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D2: Select STRING that stores Ranking TSV (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 strViewId           = configs.get      ( &quot;StrConfA1&quot; );    \/\/\/ REQUIRED\n  if( strViewId         === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A1: ViewId} is empty \\n&quot; );\n  }\nlet   strStartDate        = configs.get      ( &quot;StrConfB1&quot; );    \/\/ NotRequired\n  if( strStartDate      === &quot;&quot; ){\n      strStartDate        = &quot;today&quot;;\n  }else{\n      strStartDate        = formatToBpmsDateStr( strStartDate );\n  }\nlet   strEndDate          = configs.get      ( &quot;StrConfB2&quot; );    \/\/ NotRequired\n  if( strEndDate        === &quot;&quot; ){\n      strEndDate          = &quot;today&quot;;\n  }else{\n      strEndDate          = formatToBpmsDateStr( strEndDate );\n  }\nlet   strFilters          = configs.get      ( &quot;StrConfB3&quot; );    \/\/ NotRequired\nconst numPocketPv         = configs.getObject( &quot;SelectConfC1&quot; ); \/\/ NotRequired\nconst numPocketUpv        = configs.getObject( &quot;SelectConfC2&quot; ); \/\/ NotRequired\nconst numPocketSes        = configs.getObject( &quot;SelectConfC3&quot; ); \/\/ NotRequired\nconst numPocketEnt        = configs.getObject( &quot;SelectConfC4&quot; ); \/\/ NotRequired\nlet   strRankSize         = configs.get      ( &quot;StrConfD1&quot; );    \/\/ NotRequired\n  if( strRankSize       === &quot;&quot; ){\n      strRankSize         = &quot;20&quot;;\n  }\n  let numRankSize         = strRankSize - 0;\nconst strPocketRankTsv    = configs.getObject( &quot;SelectConfD2&quot; ); \/\/ NotRequired\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Retrieved via Expression Language in Config Retrieving)\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\/\/\/ Google Analytics &gt; Reporting &gt; Reporting API v4 &gt; batchGet\n\/\/\/ https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v4\/rest\/v4\/reports\/batchGet\nlet request1Obj = {};\n    request1Obj.reportRequests = [];\n    request1Obj.reportRequests[0] = {};\n    request1Obj.reportRequests[0].viewId = strViewId;\n    request1Obj.reportRequests[0].dateRanges = [];\n    request1Obj.reportRequests[0].dateRanges[0] = {};\n    request1Obj.reportRequests[0].dateRanges[0].startDate = strStartDate;\n    request1Obj.reportRequests[0].dateRanges[0].endDate   = strEndDate;\n    request1Obj.reportRequests[0].dimensions = [];\n    request1Obj.reportRequests[0].dimensions[0] = {};\n    request1Obj.reportRequests[0].dimensions[0].name = &quot;ga:hostname&quot;;\n    request1Obj.reportRequests[0].dimensions[1] = {};\n    request1Obj.reportRequests[0].dimensions[1].name = &quot;ga:pagePath&quot;;\n    request1Obj.reportRequests[0].dimensions[2] = {};\n    request1Obj.reportRequests[0].dimensions[2].name = &quot;ga:pageTitle&quot;;\n    request1Obj.reportRequests[0].metrics = [];\n    request1Obj.reportRequests[0].metrics[0] = {};\n    request1Obj.reportRequests[0].metrics[0].expression = &quot;ga:pageviews&quot;;\n    request1Obj.reportRequests[0].metrics[1] = {};\n    request1Obj.reportRequests[0].metrics[1].expression = &quot;ga:uniquePageviews&quot;;\n    request1Obj.reportRequests[0].metrics[2] = {};\n    request1Obj.reportRequests[0].metrics[2].expression = &quot;ga:sessions&quot;;\n    request1Obj.reportRequests[0].metrics[3] = {};\n    request1Obj.reportRequests[0].metrics[3].expression = &quot;ga:entrances&quot;;\n    if( strFilters !== &quot;&quot; ){\n      request1Obj.reportRequests[0].filtersExpression = strFilters;\n    }\n    request1Obj.reportRequests[0].orderBys = [];\n    request1Obj.reportRequests[0].orderBys[0] = {};\n    request1Obj.reportRequests[0].orderBys[0].sortOrder = &quot;DESCENDING&quot;;\n    request1Obj.reportRequests[0].orderBys[0].fieldName = &quot;ga:pageviews&quot;;\n    request1Obj.reportRequests[0].orderBys[1] = {};\n    request1Obj.reportRequests[0].orderBys[1].sortOrder = &quot;DESCENDING&quot;;\n    request1Obj.reportRequests[0].orderBys[1].fieldName = &quot;ga:uniquePageviews&quot;;\n    request1Obj.reportRequests[0].orderBys[2] = {};\n    request1Obj.reportRequests[0].orderBys[2].sortOrder = &quot;DESCENDING&quot;;\n    request1Obj.reportRequests[0].orderBys[2].fieldName = &quot;ga:entrances&quot;;\n    request1Obj.reportRequests[0].pageSize = numRankSize;\nlet request1Uri = &quot;https:\/\/analyticsreporting.googleapis.com\/v4\/reports:batchGet&quot;;\nlet request1    = httpClient.begin(); \/\/ HttpRequestWrapper\n    request1    = request1.authSetting( strAuthzSetting ); \/\/ with &quot;Authorization: Bearer XX&quot;\n    \/\/ https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360024574471-R2300#HttpRequestWrapper\n    request1    = request1.body( JSON.stringify( request1Obj ), &quot;application\/json&quot; );\n\/\/ request1, try\nconst response1     = request1.post( 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;reports&quot;: [\n    {\n      &quot;columnHeader&quot;: {\n        &quot;dimensions&quot;: [\n          &quot;ga:hostname&quot;,\n          &quot;ga:pagePath&quot;,\n          &quot;ga:pageTitle&quot;\n        ],\n        &quot;metricHeader&quot;: {\n          &quot;metricHeaderEntries&quot;: [\n            {\n              &quot;name&quot;: &quot;ga:pageviews&quot;,\n              &quot;type&quot;: &quot;INTEGER&quot;\n            },\n            {\n              &quot;name&quot;: &quot;ga:uniquePageviews&quot;,\n              &quot;type&quot;: &quot;INTEGER&quot;\n            },\n            {\n              &quot;name&quot;: &quot;ga:sessions&quot;,\n              &quot;type&quot;: &quot;INTEGER&quot;\n            },\n            {\n              &quot;name&quot;: &quot;ga:entrances&quot;,\n              &quot;type&quot;: &quot;INTEGER&quot;\n            }\n          ]\n        }\n      },\n      &quot;data&quot;: {\n        &quot;rows&quot;: [\n          {\n            &quot;dimensions&quot;: [\n              &quot;example.questetra.net&quot;,\n              &quot;\/PE\/Workitem\/Form\/normalIframe.iframe&quot;,\n              &quot;\u30de\u30a4\u30bf\u30b9\u30af \u3059\u3079\u3066\u306e\u30a2\u30d7\u30ea \u30ef\u30fc\u30af\u30d5\u30ed\u30fc - Questetra BPM Suite&quot;\n            ],\n            &quot;metrics&quot;: [\n              {\n                &quot;values&quot;: [\n                  &quot;32&quot;,\n                  &quot;9&quot;,\n                  &quot;1&quot;,\n                  &quot;1&quot;\n                ]\n              }\n            ]\n          },\n          {\n            &quot;dimensions&quot;: [\n              &quot;example.questetra.net&quot;,\n              &quot;\/PE\/Workitem\/Form\/saveIframe.iframe&quot;,\n              &quot;\u30de\u30a4\u30bf\u30b9\u30af \u3059\u3079\u3066\u306e\u30a2\u30d7\u30ea \u30ef\u30fc\u30af\u30d5\u30ed\u30fc - Questetra BPM Suite&quot;\n            ],\n            &quot;metrics&quot;: [\n              {\n                &quot;values&quot;: [\n                  &quot;26&quot;,\n                  &quot;7&quot;,\n                  &quot;1&quot;,\n                  &quot;1&quot;\n                ]\n              }\n            ]\n          },\n          { . . . },\n          {\n            &quot;dimensions&quot;: [\n              &quot;example.questetra.net&quot;,\n              &quot;\/System\/Event\/MessageStartForm\/9999\/8\/kTaR9XXXXX2jwFqYYYYYO84ByR2sHe7t\/view&quot;,\n              &quot;Basic Trial&quot;\n            ],\n            &quot;metrics&quot;: [\n              {\n                &quot;values&quot;: [\n                  &quot;5&quot;,\n                  &quot;1&quot;,\n                  &quot;0&quot;,\n                  &quot;0&quot;\n                ]\n              }\n            ]\n          }\n        ],\n        &quot;totals&quot;: [\n          {\n            &quot;values&quot;: [ &quot;358&quot;, &quot;182&quot;, &quot;39&quot;, &quot;39&quot; ]\n          }\n        ],\n        &quot;rowCount&quot;: 86,\n        &quot;minimums&quot;: [\n          {\n            &quot;values&quot;: [ &quot;1&quot;, &quot;1&quot;, &quot;0&quot;, &quot;0&quot; ]\n          }\n        ],\n        &quot;maximums&quot;: [\n          {\n            &quot;values&quot;: [ &quot;32&quot;, &quot;16&quot;, &quot;16&quot;, &quot;16&quot; ]\n          }\n        ]\n      },\n      &quot;nextPageToken&quot;: &quot;20&quot;\n    }\n  ]\n}\n*\/\nconst response1Obj = JSON.parse( response1Body );\n\n\/\/\/ Create TSV\nlet strRankTsv = &quot;&quot;;\nif( response1Obj.reports[0].data.hasOwnProperty(&quot;rows&quot;) ){\n  strRankTsv += &quot;PV&quot; + &quot;\\t&quot; + &quot;UPV&quot; + &quot;\\t&quot; + &quot;SS&quot; + &quot;\\t&quot; + &quot;ENT&quot; + &quot;\\t&quot; + &quot;URI&quot; + &quot;\\t&quot; + &quot;TITLE&quot; + &quot;\\n&quot;;\n  for( let i = 0; i &lt; response1Obj.reports[0].data.rows.length; i++ ){\n    strRankTsv += response1Obj.reports[0].data.rows[i].metrics[0].values[0] + &quot;\\t&quot;;\n    strRankTsv += response1Obj.reports[0].data.rows[i].metrics[0].values[1] + &quot;\\t&quot;;\n    strRankTsv += response1Obj.reports[0].data.rows[i].metrics[0].values[2] + &quot;\\t&quot;;\n    strRankTsv += response1Obj.reports[0].data.rows[i].metrics[0].values[3] + &quot;\\t&quot;;\n    strRankTsv += response1Obj.reports[0].data.rows[i].dimensions[0];\n    strRankTsv += response1Obj.reports[0].data.rows[i].dimensions[1] + &quot;\\t&quot;;\n    strRankTsv += response1Obj.reports[0].data.rows[i].dimensions[2];\n    if( i !== response1Obj.reports[0].data.rows.length - 1 ){\n      strRankTsv += &quot;\\n&quot;;\n    }\n  }\n}\n\n\/\/\/ Get Result\nlet numPv  = response1Obj.reports[0].data.totals[0].values[0];\nlet numUpv = response1Obj.reports[0].data.totals[0].values[1];\nlet numSes = response1Obj.reports[0].data.totals[0].values[2];\nlet numEnt = response1Obj.reports[0].data.totals[0].values[3];\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nif( numPocketPv !== null ){\n  engine.setData( numPocketPv,  new java.math.BigDecimal( numPv ) );\n}\nif( numPocketUpv !== null ){\n  engine.setData( numPocketUpv, new java.math.BigDecimal( numUpv ) );\n}\nif( numPocketSes !== null ){\n  engine.setData( numPocketSes, new java.math.BigDecimal( numSes ) );\n}\nif( numPocketEnt !== null ){\n  engine.setData( numPocketEnt, new java.math.BigDecimal( numEnt ) );\n}\nif( strPocketRankTsv !== null ){\n  engine.setData( strPocketRankTsv, strRankTsv );\n}\n\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n\nfunction formatToBpmsDateStr( str ) { \/\/ Format from DateStr to &quot;DateStr for Bpms&quot;\n  if( str === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ParseDateError:&quot; +\n                     &quot; String is empty \\n&quot; );\n  }\n  var arrNumParts = str.match( \/\\d+\/g );\n  if( arrNumParts === null ){\n    throw new Error( &quot;\\n AutomatedTask ParseDateError:&quot; +\n                     &quot; No numeric characters in: &quot; + str + &quot;\\n&quot; );\n  }\n  if( arrNumParts.length &lt; 3){\n    throw new Error( &quot;\\n AutomatedTask ParseDateError:&quot; +\n                     &quot; 3 Parts of numeric characters are needed in: &quot; + str + &quot;\\n&quot; );\n  }\n  let strNew = arrNumParts[0] + &quot;-&quot; +\n               ( &#39;0&#39; + arrNumParts[1] ).slice(-2) + &quot;-&quot; +\n               ( &#39;0&#39; + arrNumParts[2] ).slice(-2);\n  return strNew;\n}\n\n\n\/*\nNotes:\n- When the process reaches this automated task, the data in G-Analytics is automatically extracted.\n    - The unit of ranking aggregation &quot;Dimension&quot; is the following three.\n        - Hostname (`ga:hostname`)\n        - Page (`ga:pagePath`)\n        - PageName\uff08`ga:pageTitle`\uff09\n    - The following four indicators &quot;Metrics&quot; are aggregated.\n        - Number of page views (`ga:pageviews`)\n        - Number of sessions (`ga:uniquePageviews`)\n        - @Number of sessions (`ga:sessions`)\n        - Number of times visitors (`ga:entrances`)\n    - Difference between Entrances and Sessions\n        - https:\/\/support.google.com\/analytics\/answer\/2956047\nAPPENDIX\n- This add-on acquire data from Google Analytics using &quot;Reporting API V4&quot;.\n    - Not &quot;Data API V1 (Beta)&quot;.\n    - Not &quot;Core Reporting API V3&quot;.\n    - A request with a response longer than 30 seconds may result in an error.\n- You can narrow down the ranking list by filtersExpression.\n    - Filtering by Dimension also reduces the total value.\n    - The filter by Metric narrows down only the ranking list.\n    - e.g.\n        - `ga:timeOnPage&gt;10`\n        - `ga:country==Canada`\n        - `ga:browser!=Firefox`\n        - `ga:pagePath=@\/ja\/`\n        - `ga:hostname==#{#q_Platform_ID}.questetra.net`\n    - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v3\/reference#filters\n    - https:\/\/ga-dev-tools.web.app\/dimensions-metrics-explorer\/\n- You can use date type data or datetime type data to specify the date range.\n    - `YYYY-MM-DD`, `YYYY\/MM\/DD`,` YYYY-MM-DD hh:mm` etc\n    - It must be a delimited string in the order Year Month Date.\n- Setting example of &quot;HTTP Authentication&quot; (OAuth2)\n    - Authorization Endpoint URL:\n        - https:\/\/accounts.google.com\/o\/oauth2\/auth?access_type=offline&approval_prompt=force\n    - Token Endpoint URL:\n        - https:\/\/accounts.google.com\/o\/oauth2\/token\n    - Scope:\n        - https:\/\/www.googleapis.com\/auth\/analytics.readonly\n    - Client ID, Consumer Secret:\n        - ( from https:\/\/console.developers.google.com\/ )\n        - Redirect URLs: https:\/\/s.questetra.net\/oauth2callback\n\nNotes-ja:\n- \u6848\u4ef6\u304c\u3053\u306e\u81ea\u52d5\u5de5\u7a0b\u306b\u5230\u9054\u3057\u305f\u969b\u3001Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u5185\u306e\u30c7\u30fc\u30bf\u3092\u81ea\u52d5\u62bd\u51fa\u3057\u307e\u3059\u3002 AnalyticsReports\n    - \u30e9\u30f3\u30ad\u30f3\u30b0\u96c6\u8a08\u306e\u5358\u4f4d\u3014\u30c7\u30a3\u30e1\u30f3\u30b8\u30e7\u30f3\u3015\u306f\u3001\u4ee5\u4e0b\u306e\uff13\u3064\u3067\u3059\u3002\n        - \u30db\u30b9\u30c8\u540d\uff08`ga:hostname`\uff09\n        - \u30da\u30fc\u30b8\uff08`ga:pagePath`\uff09\n        - \u30da\u30fc\u30b8\u540d\uff08`ga:pageTitle`\uff09\n    - \u96c6\u8a08\u5bfe\u8c61\u3068\u306a\u308b\u6307\u6a19\u3014\u30e1\u30c8\u30ea\u30c3\u30af\u30b9\u3015\u306f\u3001\u4ee5\u4e0b\u306e\uff14\u3064\u3067\u3059\n        - \u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u6570\uff08`ga:pageviews`\uff09\n        - \u30da\u30fc\u30b8\u5225\u8a2a\u554f\u6570\uff08`ga:uniquePageviews`\uff09\n        - \uff03\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\uff08`ga:sessions`\uff09\n        - \u95b2\u89a7\u958b\u59cb\u6570\uff08`ga:entrances`\uff09\n    - \u203b\u95b2\u89a7\u958b\u59cb\u6570\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u306e\u9055\u3044\n        - https:\/\/support.google.com\/analytics\/answer\/2956047\nAPPENDIX-ja\n- \u672c\u30a2\u30c9\u30aa\u30f3\u3067\u306f\u3001Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u304b\u3089\u306e\u30c7\u30fc\u30bf\u53d6\u5f97\u306b &quot;Reporting API V4&quot; \u304c\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n    - &quot;Data API V1 (Beta)&quot; \u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\n    - &quot;Core Reporting API V3&quot; \u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\n    - \u30ec\u30b9\u30dd\u30f3\u30b9\u304c30\u79d2\u3092\u8d85\u3048\u308b\u3088\u3046\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3001\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\n- \u62bd\u51fa\u30d5\u30a3\u30eb\u30bf\u5f0f\uff08filtersExpression\uff09\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u3001\u30e9\u30f3\u30ad\u30f3\u30b0\u30ea\u30b9\u30c8\u306e\u7d5e\u308a\u8fbc\u307f\u304c\u53ef\u80fd\u3067\u3059\u3002\n    - \u30c7\u30a3\u30e1\u30f3\u30b8\u30e7\u30f3\u3014Dimension\u3015\u306b\u3088\u308b\u30d5\u30a3\u30eb\u30bf\u306f\u3001\u5408\u8a08\u5024\u3082\u6e1b\u5c11\u3057\u307e\u3059\u3002\n    - \u6307\u6a19\u3014Metric\u3015\u306b\u3088\u308b\u30d5\u30a3\u30eb\u30bf\u306f\u3001\u30e9\u30f3\u30ad\u30f3\u30b0\u30ea\u30b9\u30c8\u3060\u3051\u304c\u7d5e\u308a\u8fbc\u307e\u308c\u307e\u3059\u3002\n    - \u4f8b\n        - `ga:timeOnPage&gt;10`\n        - `ga:country==Canada`\n        - `ga:browser!=Firefox`\n        - `ga:pagePath=@\/ja\/`\n        - `ga:hostname==#{#q_Platform_ID}.questetra.net`\n    - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v3\/reference#filters\n    - https:\/\/ga-dev-tools.web.app\/dimensions-metrics-explorer\/\n- \u65e5\u4ed8\u7bc4\u56f2\u306e\u6307\u5b9a\u306b\u306f\u3001\u65e5\u4ed8\u578b\u30c7\u30fc\u30bf\u3084\u65e5\u6642\u578b\u30c7\u30fc\u30bf\u306a\u3069\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002\n    - `YYYY-MM-DD`, `YYYY\/MM\/DD`, `YYYY-MM-DD hh:mm` etc\n    - \u533a\u5207\u308a\u6587\u5b57\u306e\u3042\u308b\u6587\u5b57\u5217\u3067 Year Month Date \u306e\u9806\u3067\u8868\u8a18\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n- &quot;HTTP\u8a8d\u8a3c&quot;\uff08OAuth2\uff09\u306e\u8a2d\u5b9a\u4f8b\n    - Authorization Endpoint URL:\n        - https:\/\/accounts.google.com\/o\/oauth2\/auth?access_type=offline&approval_prompt=force\n    - Token Endpoint URL:\n        - https:\/\/accounts.google.com\/o\/oauth2\/token\n    - Scope:\n        - https:\/\/www.googleapis.com\/auth\/analytics.readonly\n    - Client ID, Consumer Secret:\n        - ( from https:\/\/console.developers.google.com\/ )\n        - Redirect URLs: https:\/\/s.questetra.net\/oauth2callback\n*\/\n\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"#\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAqxJREFUWEfN\nl09o1FAQxr952bi7Zl2xIpXSg6iIKAr1IhQU\/+BBPAjeWtSDIrSKYEUsgqmt8aKIerIFqRdFb0U8\niRd78Ca2CB4UBL0oHqqibFR2uxl52c12s0m6SbZLzDG8mfm9mW\/mvUdI+KOw8b+MYnm+jCMEsRfg\nHgbWEbBK2jPwg4BPAM0yrBe\/FEx1jeJ3GN9NAQpXsBaWGCbwAIBMGKcA\/jJoAsK6nhvD18VsFgUw\ndQyA6SYIWsjA7mUME8QXNAMTQfaBAH9GxF2LeTBW4AYjQTSevWqd9vPlC1C4LB4Rcd9SBHd8MNPj\n3DWrv9GnByDuzsWaLVAP3oLo3gmQqMXhufcoPb+I8sdp+GXCBWDXHDQeZ+fqnhGouy8BqXSDDhjz\nr++h+FRq2O6ZwXpN1ACk2qlMH+IKTt03BnXXMKAs8\/DPz0yi+ORUNT5MVnij0x0LALq4TeBzcXYv\nbUID2HOD7uQMa0ja2QByyKws07cIfe7hjAIg58RPhVfLYWUDFHQcJdCDuLuPmoHK9ORjOQMPbQBT\nF5MAnwgDkOo9D7V3CEjnXctJKEAqC5C3s10aqFnRfc2wTlYBaAZATxiAzJk3EJ3bwiytrfEHwKxm\n8I5qCei7c7A085w5+xay56N8fgDyAMsZ3OFkgMM6XCoAGU8zuFIwU6dkAQp68iXwiJDy3Uht7wd1\nbnVVR1m\/H7SiK2zF7HVNRejXhunjz6BsOODbVpGiBwLUtaHfIIojtiAw\/y6oG0R+o7jNAO5RXBnH\n7sOonQCew8gGaDiO2wbAAcdxZR4sXEjSfVNQNh9uXYRFE6VpA6WXN6oSCbiQOAKqv5Ipmw6Bsh1R\nRe9ab829g\/X5lf2v6ZXMsUz0UuqXiZZSELBzx+f\/+zCplSPJp1l96hN7nLZa\/2b2\/wB4mmEwxoWh\nEAAAAABJRU5ErkJggg==\n\" alt=\"\"\/><\/a><\/figure><\/div>\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\"><li><a href=\"https:\/\/drive.google.com\/file\/d\/1JaEj5SgYGrYIza7FZga-jBymHj-NEuro\/view?usp=drivesdk\" target=\"_blank\" rel=\"noreferrer noopener\">google-analytics-reports-pageviews-by-hostname-pagepath-2021.xml<\/a><\/li><\/ul>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\">2021-10-27 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/google-analytics-reports-pageviews-by-hostname-pagepath-2021\/\">https:\/\/support.questetra.com\/addons\/google-analytics-reports-pageviews-by-hostname-pagepath-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.<br>Freely modifiable JavaScript (ECMAScript) code. No warranty of any kind.<\/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\"><li>When the process reaches this automated task, the data in G-Analytics is automatically extracted.<ul><li>There are the following three units (or &#8220;Dimensions&#8221;) for ranking.<ul><li>Hostname (<code>ga:hostname<\/code>)<\/li><li>Page (<code>ga:pagePath<\/code>)<\/li><li>PageName\uff08<code>ga:pageTitle<\/code>\uff09<\/li><\/ul><\/li><li>The following four indicators\/metrics are used to measure the results.<ul><li>Number of page views (<code>ga:pageviews<\/code>)<\/li><li>Number of sessions (<code>ga:uniquePageviews<\/code>)<\/li><li>@Number of sessions (<code>ga:sessions<\/code>)<\/li><li>Number of times visitors (<code>ga:entrances<\/code>)<\/li><\/ul><\/li><li>Difference between Entrances and Sessions<ul><li><a href=\"https:\/\/support.google.com\/analytics\/answer\/2956047\" rel=\"nofollow\">https:\/\/support.google.com\/analytics\/answer\/2956047<\/a><\/li><\/ul><\/li><\/ul><\/li><li><strong><span style=\"text-decoration: underline;\">EDIT (2022-03-17)<\/span><\/strong><ul><li><a href=\"https:\/\/support.google.com\/analytics\/answer\/11583528\" rel=\"nofollow\">https:\/\/support.google.com\/analytics\/answer\/11583528<\/a> (March 16, 2022)<ul><li>Universal Analytics will be going away<\/li><li>Google Analytics 4 is our next-generation measurement solution, and it&#8217;s replacing Universal Analytics. On July 1, 2023, standard Universal Analytics properties will stop processing new hits. If you still rely on Universal Analytics, we recommend that you prepare to use Google Analytics 4 going forward.<\/li><\/ul><\/li><li>GA4 version<ul><li><a href=\"https:\/\/support.questetra.com\/addons\/google-analytics-ga4report-pageviews-by-hostname-pagepath-2022\/\">https:\/\/support.questetra.com\/addons\/google-analytics-ga4report-pageviews-by-hostname-pagepath-2022\/<\/a><\/li><\/ul><\/li><\/ul><\/li><\/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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-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=\"116111\" data-permalink=\"https:\/\/support.questetra.com\/en\/maintenance\/maintenance-20251117\/attachment\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-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=\"google-analytics-reports-pageviews-by-hostname-pagepath-2021-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Reports the page popularity in the specified period in ranking format. It is also possible to check the details of the number of page views, the number of sessions, and the number of times visitors in TSV format. filtersExpression is also available.\" class=\"wp-image-116111\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-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-large is-style-default q-box\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"630\" data-attachment-id=\"116115\" data-permalink=\"https:\/\/support.questetra.com\/en\/maintenance\/maintenance-20251117\/attachment\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en.png?fit=1201%2C1115&amp;ssl=1\" data-orig-size=\"1201,1115\" 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=\"google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en.png?fit=679%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en-679x630.png?resize=679%2C630&#038;ssl=1\" alt=\"Reports the page popularity in the specified period in ranking format. It is also possible to check the details of the number of page views, the number of sessions, and the number of times visitors in TSV format. filtersExpression is also available.\" class=\"wp-image-116115\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en.png?resize=679%2C630&amp;ssl=1 679w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en.png?resize=339%2C315&amp;ssl=1 339w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en.png?resize=768%2C713&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-config-en.png?w=1201&amp;ssl=1 1201w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/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\"><li>This add-on acquires data from Google Analytics using &#8220;Reporting API V4&#8221;.<ul><li>Not &#8220;Data API V1 (Beta)&#8221;.<\/li><li>Not &#8220;Core Reporting API V3&#8221;.<\/li><li>A request with a response longer than 30 seconds may result in an error.<\/li><\/ul><\/li><li>You can narrow down the ranking list using filtersExpression.<ul><li>Filtering by Dimension also reduces the total value.<\/li><li>Filtering by Metric only narrows down the ranking list.<\/li><li>e.g.<ul><li><code>ga:timeOnPage&gt;10<\/code><\/li><li><code>ga:country==Canada<\/code><\/li><li><code>ga:browser!=Firefox<\/code><\/li><li><code>ga:pagePath=@\/ja\/<\/code><\/li><li><code>ga:hostname==#{#q_Platform_ID}.questetra.net<\/code><\/li><\/ul><\/li><li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v3\/reference#filters\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v3\/reference#filters<\/a><\/li><li><a href=\"https:\/\/ga-dev-tools.web.app\/dimensions-metrics-explorer\/\" rel=\"nofollow\">https:\/\/ga-dev-tools.web.app\/dimensions-metrics-explorer\/<\/a><\/li><\/ul><\/li><li>You can use Date-type data or Datetime-type data to specify the date range.<ul><li><code>YYYY-MM-DD<\/code>, <code>YYYY\/MM\/DD<\/code>,<code>YYYY-MM-DD hh:mm<\/code> etc<\/li><li>It must be a delimited string in the order Year Month Date.<\/li><\/ul><\/li><li>Setting example of HTTP Authentication (OAuth2)<ul><li>Authorization Endpoint URL:<ul><li><a href=\"https:\/\/accounts.google.com\/o\/oauth2\/auth?access_type=offline&#038;approval_prompt=force\" rel=\"nofollow\">https:\/\/accounts.google.com\/o\/oauth2\/auth?access_type=offline&#038;approval_prompt=force<\/a><\/li><\/ul><\/li><li>Token Endpoint URL:<ul><li><a href=\"https:\/\/accounts.google.com\/o\/oauth2\/token\" rel=\"nofollow\">https:\/\/accounts.google.com\/o\/oauth2\/token<\/a><\/li><\/ul><\/li><li>Scope:<ul><li><a href=\"https:\/\/www.googleapis.com\/auth\/analytics.readonly\" rel=\"nofollow\">https:\/\/www.googleapis.com\/auth\/analytics.readonly<\/a><\/li><\/ul><\/li><li>Client ID, Consumer Secret:<ul><li>( from <a href=\"https:\/\/console.developers.google.com\/\" rel=\"nofollow\">https:\/\/console.developers.google.com\/<\/a> )<\/li><li>Redirect URLs: <a href=\"https:\/\/s.questetra.net\/oauth2callback\" rel=\"nofollow\">https:\/\/s.questetra.net\/oauth2callback<\/a><\/li><\/ul><\/li><\/ul><\/li><li>&#8220;<code>server error<\/code>&#8221; may occur when the reference range of the access log is large.<ul><li>e.g. &#8220;<code>A script error occurred. java.util.concurrent.TimeoutException<\/code>&#8220;<\/li><li>If errors occur frequently, you need to take measures.<\/li><li>Countermeasures<ul><li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v4\/limits-quotas\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v4\/limits-quotas<\/a><\/li><li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v4\/errors\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v4\/errors<\/a><\/li><\/ul><\/li><li>Examples of adverse effects<ul><li><code>A script error occurred. Error: AutomatedTask UnexpectedResponseError: 429 { \"error\": { \"code\": 429, \"message\": \"Quota Error: The number of recent reporting API requests failing by server error is too high. You are temporarily blocked from the reporting API for at least an hour. Please send fewer server errors in the future to avoid being blocked. \\nSee developer documentation for details at https:\/\/developers.google.com\/analytics\/devguides\/reporting\/core\/v4\/limits-quotas#reporting_apis_request_errors\", \"status\": \"RESOURCE_EXHAUSTED\" } }<\/code><\/li><li><code>A script error occurred. Error: AutomatedTask UnexpectedResponseError: 503 { \"error\": { \"code\": 503, \"message\": \"The service is currently unavailable.\", \"status\": \"UNAVAILABLE\" } }<\/code><\/li><\/ul><\/li><\/ul><\/li><\/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=\"3DebQD09Mx\"><a href=\"http:\/\/support.questetra.com\/en\/addons\/tsv-string-convert-2021\/\">TSV String, Convert<\/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;TSV String, Convert&#8221; &#8212; Questetra Support\" src=\"http:\/\/support.questetra.com\/addons\/tsv-string-convert-2021\/embed\/#?secret=dwWGDGP0mC#?secret=3DebQD09Mx\" data-secret=\"3DebQD09Mx\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>.Reports the page popularity in the specified period in ranking format. It is also possible to check the details of the number of page views, the number of sessions, and the number of times visitors in TSV format. filtersExpression is also available.<\/p>\n","protected":false},"author":2,"featured_media":116119,"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":"Reports the page popularity in the specified period in ranking format. It is also possible to check the details of the number of page views, the number of sessions, and the number of times visitors in TSV format. filtersExpression is also available.","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":[328,399,494],"class_list":["post-116123","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-advertising-mgmt","tag-google-analytics-reporting-api-v4","tag-routine-report"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-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":3,"uagb_excerpt":".Reports the page popularity in the specified period in ranking format. It is also possible to check the details of the number of page views, the number of sessions, and the number of times visitors in TSV format. filtersExpression is also available.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-ucX","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":67373,"url":"https:\/\/support.questetra.com\/en\/addons\/googleanalytics-reportspv\/","url_meta":{"origin":116123,"position":0},"title":"Google Analytics Reports (PV ranking)","author":"Hirotaka NISHI","date":"2021-03-29","format":false,"excerpt":"Creates a ranking report (TSV) for the number of page views. It is also possible to aggregate it with a specified duration and filter criteria.","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\/2017\/07\/google-analytics-report-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\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":120623,"url":"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4report-pageviews-by-hostname-pagepath-2022\/","url_meta":{"origin":116123,"position":1},"title":"Google Analytics #GA4_Report: PageViews by Hostname-PagePath","author":"IMAMURA, Genichi","date":"2022-04-14","format":false,"excerpt":"Reports the page popularity in the specified period in ranking format. The number of screen page views, sessions, engaged sessions and active users for each page are aggregated in TSV format. Dimension Filter \"inListFilter\" is also available.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Google Analytics: GA4 Report, PageViews by Hostname-PagePath","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/04\/google-analytics-ga4report-pageviews-2022-capture-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\/2022\/04\/google-analytics-ga4report-pageviews-2022-capture-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/04\/google-analytics-ga4report-pageviews-2022-capture-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/04\/google-analytics-ga4report-pageviews-2022-capture-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/04\/google-analytics-ga4report-pageviews-2022-capture-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67375,"url":"https:\/\/support.questetra.com\/ja\/addons\/googleanalytics-reportspv\/","url_meta":{"origin":116123,"position":2},"title":"Google Analytics \u30ec\u30dd\u30fc\u30c8 (PV ranking)","author":"Hirotaka NISHI","date":"2021-03-29","format":false,"excerpt":"Page View \u6570\u306b\u95a2\u3059\u308b\u30e9\u30f3\u30ad\u30f3\u30b0\u30ec\u30dd\u30fc\u30c8\uff08TSV\uff09\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u96c6\u8a08\u5bfe\u8c61\u671f\u9593\u306f\u4efb\u610f\u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u30d5\u30a3\u30eb\u30bf\u6761\u4ef6\u3092\u6307\u5b9a\u3057\u305f\u96c6\u8a08\u3082\u53ef\u80fd\u3067\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67377,"url":"https:\/\/support.questetra.com\/en\/addons\/googleanalytics-reportsref\/","url_meta":{"origin":116123,"position":3},"title":"Google Analytics Reports (Referrer ranking)","author":"Hirotaka NISHI","date":"2021-03-29","format":false,"excerpt":"Creates a ranking report related with your referrer page. It is also possible to aggregate it with a specified duration and filter criteria.","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\/2017\/07\/google-analytics-report-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\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/07\/google-analytics-report-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":161575,"url":"https:\/\/support.questetra.com\/en\/templates\/web-page-effect-measurement-process-20211022\/","url_meta":{"origin":116123,"position":4},"title":"Web Page Effectiveness Measurement App","author":"furuzo","date":"2024-05-20","format":false,"excerpt":"Web page creators register the date of publication and PagePath. One month after the publication date, the results (PV\/session count\/overall evaluation) are automatically obtained via Google Analytics API and automatically evaluated on a 5-point scale. The creator can check the objective evaluation and obtain opportunities for improvement.","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\/2024\/05\/web-page-effect-measurement-process-20211022-diagram-en.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/05\/web-page-effect-measurement-process-20211022-diagram-en.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/05\/web-page-effect-measurement-process-20211022-diagram-en.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/05\/web-page-effect-measurement-process-20211022-diagram-en.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2024\/05\/web-page-effect-measurement-process-20211022-diagram-en.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":116128,"url":"https:\/\/support.questetra.com\/ja\/addons\/google-analytics-reports-pageviews-by-hostname-pagepath-2021\/","url_meta":{"origin":116123,"position":5},"title":"Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9: \u30ec\u30dd\u30fc\u30c8, Hostname-PagePath \u3054\u3068\u306e Pageviews","author":"IMAMURA, Genichi","date":"2021-10-28","format":false,"excerpt":"\u6307\u5b9a\u671f\u9593\u306b\u304a\u3051\u308b\u30da\u30fc\u30b8\u4eba\u6c17\u5ea6\u3092\u30e9\u30f3\u30ad\u30f3\u30b0\u5f62\u5f0f\u3067\u30ec\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u6570\u3001\u30da\u30fc\u30b8\u5225\u8a2a\u554f\u6570\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u3001\u95b2\u89a7\u958b\u59cb\u6570\u306e\u8a73\u7d30\u3092TSV\u5f62\u5f0f\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002filtersExpression \u3082\u5229\u7528\u3067\u304d\u307e\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9: \u30ec\u30dd\u30fc\u30c8, Hostname-PagePath \u3054\u3068\u306e Pageviews","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/10\/google-analytics-reports-pageviews-by-hostname-pagepath-2021-nocode-ja.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\/116123","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=116123"}],"version-history":[{"count":8,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/116123\/revisions"}],"predecessor-version":[{"id":120668,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/116123\/revisions\/120668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/116119"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=116123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=116123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=116123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}