{"id":122775,"date":"2022-06-10T18:04:19","date_gmt":"2022-06-10T09:04:19","guid":{"rendered":"https:\/\/support.questetra.com\/?p=122775"},"modified":"2023-08-18T14:33:27","modified_gmt":"2023-08-18T05:33:27","slug":"google-analytics-ga4-report-create-custom-2022","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4-report-create-custom-2022\/","title":{"rendered":"Google Analytics #GA4_Report: Create Custom"},"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\">Google Analytics: GA4 Report, Create Custom<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\"> Creates a TSV report for any Metric from Google Analytics 4 property. One Dimension and one Metric can be specified arbitrarily. Extraction filter is also available. (exact match of the Dimension value).<\/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 Property-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> A2: Set Metric (eg &#8220;sessions&#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> A3: Set Dimension (eg &#8220;city&#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> B1: Set StartDate of DateRange (Default #yesterday)<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: To filter, Set Name of Filter Dimension (eg &#8220;country&#8221;)<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> B4: To filter, Set Match List in CSV (eg. &#8220;Japan,United States&#8221;)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li> C1: Select NUM that stores Total (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> 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 strPropertyId       = configs.get      ( &quot;StrConfA1&quot; );    \/\/\/ REQUIRED\n  if( strPropertyId     === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A1: PropertyId} must be non-empty \\n&quot; );\n  }\nconst strMetric           = configs.get      ( &quot;StrConfA2&quot; );    \/\/\/ REQUIRED\n  if( strMetric         === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A2: Metric} must be non-empty \\n&quot; );\n  }\nconst strDimension        = configs.get      ( &quot;StrConfA3&quot; );    \/\/\/ REQUIRED\n  if( strDimension      === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {A3: Dimension} must be non-empty \\n&quot; );\n  }\nlet   strStartDate        = configs.get      ( &quot;StrConfB1&quot; );    \/\/ NotRequired\n  if( strStartDate      === &quot;&quot; ){\n      strStartDate        = &quot;yesterday&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   strDimFilter        = configs.get      ( &quot;StrConfB3&quot; );    \/\/ NotRequired\nlet   strDimFilterValues  = configs.get      ( &quot;StrConfB4&quot; );    \/\/ NotRequired\n  if( strDimFilter === &quot;&quot; && strDimFilterValues === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask Config:&quot; +\n                &quot; DimensionFilter not applied&quot; );\n  }else if( strDimFilter !== &quot;&quot; && strDimFilterValues !== &quot;&quot; ){\n    engine.log( &quot; AutomatedTask Config:&quot; +\n                &quot; DimensionFilter: &quot; + strDimFilter + &quot; &quot; + strDimFilterValues );\n  }else if( strDimFilter === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning:&quot; +\n                &quot; DimensionFilter ignored, Config {B3: DimensionName} required&quot; );\n  }else if( strDimFilterValues === &quot;&quot; ){\n    engine.log( &quot; AutomatedTask ConfigWarning:&quot; +\n                &quot; DimensionFilter ignored, Config {B4: MatchList} required&quot; );\n  }else{\n    throw new Error( &quot;\\n AutomatedTask Unexpected Error \\n&quot; );\n  }\nconst numPocketTotal      = configs.getObject( &quot;SelectConfC1&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\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\n\/\/\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\n\/\/\/ request1, prepare body\n\/\/ Google Analytics &gt; Reporting &gt; Google Analytics Data API (GA4) &gt; runReport\n\/\/ https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/rest\/v1beta\/properties\/runReport\nlet request1Obj = {};\n    request1Obj.dimensions = [];\n    request1Obj.dimensions[0] = {};\n    request1Obj.dimensions[0].name = strDimension;\n    request1Obj.metrics = [];\n    request1Obj.metrics[0] = {};\n    request1Obj.metrics[0].name = strMetric;\n    request1Obj.dateRanges = [];\n    request1Obj.dateRanges[0] = {};\n    request1Obj.dateRanges[0].startDate = strStartDate;\n    request1Obj.dateRanges[0].endDate   = strEndDate;\n    request1Obj.limit = numRankSize;\n    if( strDimFilter !== &quot;&quot; && strDimFilterValues !== &quot;&quot; ){\n      request1Obj.dimensionFilter = {};\n      request1Obj.dimensionFilter.filter = {};\n      request1Obj.dimensionFilter.filter.fieldName = strDimFilter;\n      request1Obj.dimensionFilter.filter.inListFilter = {};\n      request1Obj.dimensionFilter.filter.inListFilter.caseSensitive = true;\n      request1Obj.dimensionFilter.filter.inListFilter.values =\n                                                      strDimFilterValues.split(&quot;,&quot;);\n    }\n    request1Obj.orderBys = [];\n    request1Obj.orderBys[0] = {};\n    request1Obj.orderBys[0].metric = {};\n    request1Obj.orderBys[0].metric.metricName = strMetric;\n    request1Obj.orderBys[0].desc = true;\n    request1Obj.metricAggregations = [];\n    request1Obj.metricAggregations[0] = &quot;TOTAL&quot;;\n\n\/\/\/ request1, prepare header\nlet request1Uri = &quot;https:\/\/analyticsdata.googleapis.com\/v1beta\/properties\/&quot; +\n                  strPropertyId + &quot;:runReport&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\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\n\/\/\/ response1, parse\nconst response1Obj = JSON.parse( response1Body );\n\n\/* \nengine.log( response1Body ); \/\/ debug\n{\n  &quot;dimensionHeaders&quot;: [\n    {\n      &quot;name&quot;: &quot;city&quot;\n    }\n  ],\n  &quot;metricHeaders&quot;: [\n    {\n      &quot;name&quot;: &quot;sessions&quot;,\n      &quot;type&quot;: &quot;TYPE_INTEGER&quot;\n    }\n  ],\n  &quot;totals&quot;: [\n    {}\n  ],\n  &quot;metadata&quot;: {\n    &quot;currencyCode&quot;: &quot;JPY&quot;,\n    &quot;timeZone&quot;: &quot;Asia\/Tokyo&quot;\n  },\n  &quot;kind&quot;: &quot;analyticsData#runReport&quot;\n}\n*\/\n\n\/*\n{\n  &quot;dimensionHeaders&quot;: [\n    {\n      &quot;name&quot;: &quot;city&quot;\n    }\n  ],\n  &quot;metricHeaders&quot;: [\n    {\n      &quot;name&quot;: &quot;sessions&quot;,\n      &quot;type&quot;: &quot;TYPE_INTEGER&quot;\n    }\n  ],\n  &quot;rows&quot;: [\n    {\n      &quot;dimensionValues&quot;: [\n        {\n          &quot;value&quot;: &quot;Chiyoda City&quot;\n        }\n      ],\n      &quot;metricValues&quot;: [\n        {\n          &quot;value&quot;: &quot;4137&quot;\n        }\n      ]\n    },\n    { ... }\n  ],\n  &quot;totals&quot;: [\n    {\n      &quot;dimensionValues&quot;: [\n        {\n          &quot;value&quot;: &quot;RESERVED_TOTAL&quot;\n        }\n      ],\n      &quot;metricValues&quot;: [\n        {\n          &quot;value&quot;: &quot;13899&quot;\n        }\n      ]\n    }\n  ],\n  &quot;rowCount&quot;: 248,\n  &quot;metadata&quot;: {\n    &quot;currencyCode&quot;: &quot;JPY&quot;,\n    &quot;timeZone&quot;: &quot;Asia\/Tokyo&quot;\n  },\n  &quot;kind&quot;: &quot;analyticsData#runReport&quot;\n}\n*\/\n\n\nlet strRankTsv = &quot;&quot;;\nlet numTotal = 0;\n\nif( response1Obj.hasOwnProperty(&quot;rows&quot;) ){\n  \/\/\/ Create TSV by rows\n  strRankTsv += strMetric + &quot;\\t&quot; + strDimension + &quot;\\n&quot;;\n  for( let i = 0; i &lt; response1Obj.rows.length; i++ ){\n    strRankTsv += response1Obj.rows[i].metricValues[0].value + &quot;\\t&quot;;\n    strRankTsv += response1Obj.rows[i].dimensionValues[0].value;\n    if( i !== response1Obj.rows.length - 1 ){\n      strRankTsv += &quot;\\n&quot;;\n    }\n  }\n\n  \/\/\/ Get TOTAL\n  numTotal = response1Obj.totals[0].metricValues[0].value;\n}\n\n\n\/\/\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nif( numPocketTotal !== null ){\n  engine.setData( numPocketTotal, new java.math.BigDecimal( numTotal ) );\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- Requests to the property (data storage) of Google Analytics when the process reaches the Automated Step.\n    - You can automate the extraction work of Google Analytics Data. Analytics Reports\n- Extracts via &quot;Google Analytics Data API&quot; for GA4 properties.\n    - Data API can only be used to access GA4 properties and is not compatible with Universal Analytics.\n        - As of 202204, it is a &quot;Beta version&quot;, although &quot;no breaking changes are expected&quot;.\n        - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\n    - Make sure that the Mesurement ID to be extracted is `G-XXXXXXXXXX` (GA4 property).\n        - GA4 Properties is the latest version of Google Analytics released in October 2020.\n        - The Mesurement ID of the UA property is `UA-XXXXXXXX-X`.\n        - https:\/\/support.google.com\/analytics\/answer\/10089681\n- For GA4 properties with &quot;Google Signals&quot; enabled\n    - &quot;Threshold&quot; may be applied in &quot;Report including number of users&quot; etc., and some data may be excluded.\n        - From the viewpoint of privacy protection, it is applied when the amount of data is small. &quot;(not set)&quot;\n    - &quot;Do not include user attribute information&quot; and &quot;Extend the specified period&quot; are effective.\n    - Official Document: GA4 - Data thresholds\n        - https:\/\/support.google.com\/analytics\/answer\/9383630\n- Refer to &quot;GA4 Dimensions & Metrics Explorer&quot; for &quot;API Name&quot; of metrics and dimensions.\n    - https:\/\/ga-dev-tools.web.app\/ga4\/dimensions-metrics-explorer\/\n    - e.g., `sessions` by `city`\n    - e.g., `screenPageViews` by `browser`\n    - e.g., `conversions` by `pagePath`\n    - e.g., `activeUsers` by `hostName`\n    - e.g., `userEngagementDuration` by `dayOfWeek`\n    - Official Document: GA4 - Dimensions and metrics\n        - https:\/\/support.google.com\/analytics\/answer\/9143382\n\nAPPENDIX\n- To place this &quot;Add-on Automated Step&quot; on the design screen of the workflow diagram\n    - Import Addon-XML (definition file of this automated step) to Workflow App in advance.\n    - The system admins can also make it available in all Workflow Apps. (App-shared Add-on)\n    - Manual M415: Adding an Auto-Step to be Used in a Business Process Definition\n        - https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002247792-M415\n- To activate the Workflow App including this &quot;Add-on automated Step&quot;\n    - Authorize API communications by an authorized user in advance.\n    - Enable &quot;Google Analytics Data API&quot; on the Google Cloud Platform\n        - APIs and Services: `Google Analytics Data API`\n            - https:\/\/console.cloud.google.com\/project\/_\/apis\/library\n        - OFFICIAL DOCUMENT\n            - https:\/\/cloud.google.com\/service-usage\/docs\/enable-disable\n    - Create an &quot;OAuth2.0 client ID&quot; on the Google Cloud Platform\n        - Creating credentials:\n            - `OAuth Client ID`\n        - Application type:\n            - `Web application`\n        - Name:\n            - `Questetra to GA4`\n        - Authorized JavaScript origins:\n            - `https:\/\/your-subdomain.questetra.net`\n        - Authorized redirect URI:\n            - `https:\/\/s.questetra.net\/oauth2callback`\n        - OFFICIAL DOCUMENT\n            - https:\/\/cloud.google.com\/endpoints\/docs\/frameworks\/java\/javascript-client\n    - Set &quot;HTTP authentication (OAuth2)&quot; on the Questetra Workflow-App\n        - Name:\n            - `Questetra-GA4`\n        - Authorization Endpoint URL:\n            - `https:\/\/accounts.google.com\/o\/oauth2\/v2\/auth?access_type=offline&prompt=consent`\n        - Token Endpoint URL:\n            - `https:\/\/oauth2.googleapis.com\/token`\n        - Scope:\n            - `https:\/\/www.googleapis.com\/auth\/analytics.readonly`\n        - Client ID \/ Consumer Secret:\n            - (see above &quot;OAuth 2.0 client ID&quot;)\n        - OFFICIAL DOCUMENT\n            - https:\/\/developers.google.com\/identity\/protocols\/oauth2\/web-server#httprest\n- In this Add-on Automated Step, &quot;Data API (GA4)&quot; is used to acquire data from Google Analytics.\n    - Not &quot;Reporting API V4&quot;.\n    - Not &quot;Core Reporting API V3&quot;.\n    - Requests with a response longer than 30 seconds may result in an error.\n    - Detailed specifications of &quot;Google Analytics Data API (GA4)&quot;\n        - GUIDE: Creating a Report\n            - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/basics\n        - REFERENCE: Method: properties.runReport\n            - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/rest\/v1beta\/properties\/runReport\n- Can also filter the ranking list by Dimension Filter (inListFilter).\n    - Only data which dimension values\u200bexactly match any of the values will be extracted. (Case Sensitive)\n        - `country`: `Canada,Japan`\n        - `customEvent:locale`: `ja`\n- DATE type data or DATETIME type data are also available to specify the date range.\n    - `YYYY-MM-DD`, `YYYY\/MM\/DD`, `YYYY-MM-DD hh:mm` etc\n    - Must be written in the order of Year Month Date with a delimiter.\n\n\nNotes-ja:\n- \u6848\u4ef6\u304c\u81ea\u52d5\u5de5\u7a0b\u306b\u5230\u9054\u3057\u305f\u969b\u3001Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u30c7\u30fc\u30bf\u683c\u7d0d\u5eab\uff09\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u307e\u3059\u3002\n    - Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9Data\u306e\u62bd\u51fa\u696d\u52d9\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002 AnalyticsReports\n- GA4\u30d7\u30ed\u30d1\u30c6\u30a3\u7528\u306e &quot;Google Analytics Data API&quot; \u3092\u7d4c\u7531\u3057\u3066\u62bd\u51fa\u3057\u307e\u3059\u3002\n    - GA4\u30d7\u30ed\u30d1\u30c6\u30a3\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306b\u306e\u307f\u4f7f\u7528\u3067\u304d\u3001UniversalAnalytics\u3068\u306f\u4e92\u63db\u6027\u304c\u3042\u308a\u307e\u305b\u3093\u3002\n        - \u307e\u305f\u3001202204\u6642\u70b9\u306b\u304a\u3044\u3066\u3001\u300c\u91cd\u5927\u306a\u5909\u66f4\u306f\u4e88\u60f3\u3055\u308c\u3066\u3044\u306a\u3044\u300d\u3082\u306e\u306e\u3001&quot;Beta version&quot; \u3067\u3059\u3002\n        - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\n    - GA4\u306e\u8a08\u6e2cID\u306f `G-XXXXXXXXXX` \u306e\u66f8\u5f0f\u306b\u306a\u308a\u307e\u3059\u3002\n        - GA4\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30012020\u5e7410\u6708\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u6700\u65b0\u7248\u306e Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002\n        - UA\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a08\u6e2cID\u306f `UA-XXXXXXXX-X` \u3068\u306a\u308a\u307e\u3059\u3002\n        - https:\/\/support.google.com\/analytics\/answer\/10089681\n- &quot;Google\u30b7\u30b0\u30ca\u30eb&quot; \u304c\u6709\u52b9\u3068\u306a\u3063\u3066\u3044\u308bGA4\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5834\u5408\u3001\n    - \u300c\u30e6\u30fc\u30b6\u30fc\u6570\u3092\u542b\u3080\u30ec\u30dd\u30fc\u30c8\u300d\u7b49\u3067 &quot;\u3057\u304d\u3044\u5024&quot; \u304c\u9069\u7528\u3055\u308c\u3001\u4e00\u90e8\u30c7\u30fc\u30bf\u304c\u9664\u5916\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\n        - \u4e3b\u306b\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u4fdd\u8b77\u306e\u89b3\u70b9\u304b\u3089\u3001\u30c7\u30fc\u30bf\u91cf\u304c\u5c11\u306a\u3044\u5834\u5408\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002&quot;(not set)&quot;\n    - \u300c\u30e6\u30fc\u30b6\u30fc\u5c5e\u6027\u60c5\u5831\u3092\u7d44\u307f\u8fbc\u307e\u306a\u3044\u300d\u3084\u300c\u6307\u5b9a\u671f\u9593\u3092\u9577\u304f\u3059\u308b\u300d\u3068\u3044\u3063\u305f\u65b9\u6cd5\u304c\u6709\u52b9\u3067\u3059\u3002\n    - \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb: \uff3bGA4\uff3d\u30c7\u30fc\u30bf\u3057\u304d\u3044\u5024\n        - https:\/\/support.google.com\/analytics\/answer\/9383630\n- \u6307\u6a19\u3084\u30c7\u30a3\u30e1\u30f3\u30b8\u30e7\u30f3\u306e &quot;API Name&quot; \u306f\u300cGA4 Dimensions & Metrics Explorer\u300d\u3092\u53c2\u7167\u3057\u307e\u3059\u3002\n    - https:\/\/ga-dev-tools.web.app\/ga4\/dimensions-metrics-explorer\/\n    - \u4f8b\uff09 `city` \u3054\u3068\u306e `sessions` (\u30bb\u30c3\u30b7\u30e7\u30f3\u6570)\n    - \u4f8b\uff09 `browser` \u3054\u3068\u306e `screenPageViews` (\u8868\u793a\u56de\u6570)\n    - \u4f8b\uff09 `pagePath` \u3054\u3068\u306e `conversions` (\u30b3\u30f3\u30d0\u30fc\u30b8\u30e7\u30f3)\n    - \u4f8b\uff09 `hostName` \u3054\u3068\u306e `activeUsers` (\u30a2\u30af\u30c6\u30a3\u30d6\u30e6\u30fc\u30b6\u6570)\n    - \u4f8b\uff09 `dayOfWeek` (\u66dc\u65e5) \u3054\u3068\u306e `userEngagementDuration` (\u30d5\u30a9\u30a2\u30b0\u30e9\u30a6\u30f3\u30c9\u79d2\u6570)\n    - \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb: \uff3bGA4\uff3d\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u3068\u6307\u6a19\n        - https:\/\/support.google.com\/analytics\/answer\/9143382?hl=ja\n\nAPPENDIX-ja\n- \u3053\u306e\uff3b\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u3001\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u56f3\u306e\u8a2d\u8a08\u753b\u9762\u3067\u914d\u7f6e\uff08\u5229\u7528\uff09\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\n    - \u4e88\u3081\u30a2\u30c9\u30aa\u30f3XML\uff08\u3053\u306e\u81ea\u52d5\u5de5\u7a0b\u306e\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u3001\uff3bWorkflow\u30a2\u30d7\u30ea\uff3d\u306b\u8ffd\u52a0\uff08\u30a2\u30c9\u30aa\u30f3\uff09\u3057\u307e\u3059\u3002\n    - \u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u306f\u3001Workflow\u57fa\u76e4\u306e\u5168\u30a2\u30d7\u30ea\u3067\u914d\u7f6e\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\uff08\u30a2\u30d7\u30ea\u5171\u6709\u30a2\u30c9\u30aa\u30f3\uff09\n    - \u30de\u30cb\u30e5\u30a2\u30eb M415: \u696d\u52d9\u30d7\u30ed\u30bb\u30b9\u5b9a\u7fa9\u3067\u5229\u7528\u53ef\u80fd\u306a\u81ea\u52d5\u5de5\u7a0b\u3092\u8ffd\u52a0\u3059\u308b (Professional edition)\n        - https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002247792-M415\n- \u3053\u306e\uff3b\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b\uff3d\u3092\u542b\u3080\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30ea\u3092\u3001\u904b\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\n    - \u3042\u3089\u304b\u3058\u3081\u3001\u6a29\u9650\u30e6\u30fc\u30b6\u306b\u3088\u308b\u8a8d\u53ef\uff08API\u901a\u4fe1\u306e\u8a31\u53ef\uff09\u304c\u5fc5\u8981\u3067\u3059\u3002\n    - Google Cloud Platform \u5074\u3067\u300eGoogle Analytics Data API\u300f\u3092\u6709\u52b9\u5316\u3059\u308b\n        - API\u3068\u30b5\u30fc\u30d3\u30b9\u306e\u6709\u52b9\u5316: `Google Analytics Data API`\n            - https:\/\/console.cloud.google.com\/project\/_\/apis\/library\n        - \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb: \u30b5\u30fc\u30d3\u30b9\u306e\u6709\u52b9\u5316\u3068\u7121\u52b9\u5316\n            - https:\/\/cloud.google.com\/service-usage\/docs\/enable-disable\n    - Google Cloud Platform \u5074\u3067\u300eOAuth2.0\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID\u300f\u3092\u4f5c\u6210\u3059\u308b\n        - \u8a8d\u8a3c\u60c5\u5831\u306e\u4f5c\u6210\uff1a\n            - `OAuth\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID`\n    \u3000\u3000- \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\uff1a\n            - `\u30a6\u30a7\u30d6 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3`\n    \u3000\u3000- \u540d\u524d\uff1a\n            - `Questetra to GA4`\n    \u3000\u3000- \u627f\u8a8d\u6e08\u307f\u306eJavaScript\u751f\u6210\u5143\uff1a\n            - `https:\/\/your-subdomain.questetra.net`\n    \u3000\u3000- \u627f\u8a8d\u6e08\u307f\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI:\n            - `https:\/\/s.questetra.net\/oauth2callback`\n        - \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb:  https:\/\/cloud.google.com\/endpoints\/docs\/frameworks\/java\/javascript-client\n    - Questetra \u5074\u3067\u300e&quot;HTTP\u8a8d\u8a3c&quot;\uff08OAuth2\uff09\u300f\u3092\u8a2d\u5b9a\u3059\u308b\n        - \u540d\u524d:\n            - `Questetra-GA4`\n        - \u8a8d\u53ef\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8URL:\n            - `https:\/\/accounts.google.com\/o\/oauth2\/v2\/auth?access_type=offline&prompt=consent`\n        - \u30c8\u30fc\u30af\u30f3\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8URL:\n            - `https:\/\/oauth2.googleapis.com\/token`\n        - \u30b9\u30b3\u30fc\u30d7:\n            - `https:\/\/www.googleapis.com\/auth\/analytics.readonly`\n        - \u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID \/ \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b7\u30fc\u30af\u30ec\u30c3\u30c8:\n            - ( see above &quot;OAuth 2.0 client ID&quot; )\n        - \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb: https:\/\/developers.google.com\/identity\/protocols\/oauth2\/web-server#httprest\n- \u3053\u306e\uff3b\u30a2\u30c9\u30aa\u30f3\u81ea\u52d5\u5de5\u7a0b\uff3d\u3067\u306f\u3001Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u304b\u3089\u306e\u30c7\u30fc\u30bf\u53d6\u5f97\u306b &quot;Data API&quot; \u304c\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n    - &quot;Reporting API V4&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    - &quot;Google Analytics Data API (GA4)&quot; \u306e\u8a73\u7d30\u4ed5\u69d8\n        - GUIDE: Creating a Report\n            - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/basics\n        - \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb: Method: properties.runReport\n            - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/rest\/v1beta\/properties\/runReport\n- \u5b8c\u5168\u4e00\u81f4\u30ea\u30b9\u30c8\uff08inListFilter\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\u30b7\u30e7\u30f3\u306e\u5024\u304c\u3044\u305a\u308c\u304b\u306e\u5024\u3068\u5b8c\u5168\u4e00\u81f4\u3059\u308b\u30c7\u30fc\u30bf\u3060\u3051\u304c\u62bd\u51fa\u3055\u308c\u307e\u3059\u3002\uff08Case Sensitive\uff09\n        - `country`: `Canada,Japan`\n        - `customEvent:locale`: `ja`\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*\/\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,\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>\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\/1weRuHF7fPaJ4n28lm0Qh7uijTE7WcQFn\/view?usp=drivesdk\" target=\"_blank\">google-analytics-ga4-report-create-custom-2022.xml<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1b8x2cK5rCqwmveaIo-sYfB_SkEDSokmE\/view?usp=sharing\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1b8x2cK5rCqwmveaIo-sYfB_SkEDSokmE\/view?usp=sharing\">google-analytics-ga4-report-create-custom-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-08-17 (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\">2022-06-09 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4-report-create-custom-2022\/\">https:\/\/support.questetra.com\/addons\/google-analytics-ga4-report-create-custom-2022\/<\/a><br><i class=\"fal fa-info-circle\"><\/i> The Addon-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\">\n<li>Requests to the property (data storage) of Google Analytics when the process reaches the Automated Step.\n<ul class=\"wp-block-list\">\n<li>You can automate the extraction work of Google Analytics Data. Analytics Reports<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Extracts via &#8220;Google Analytics Data API&#8221; for GA4 properties.\n<ul class=\"wp-block-list\">\n<li>Data API can only be used to access GA4 properties and is not compatible with Universal Analytics.\n<ul class=\"wp-block-list\">\n<li>As of 202204, it is a &#8220;Beta version&#8221;, although &#8220;no breaking changes are expected&#8221;.<\/li>\n\n\n\n<li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Make sure that the Mesurement ID to be extracted is <code>G-XXXXXXXXXX<\/code> (GA4 property).\n<ul class=\"wp-block-list\">\n<li>GA4 Properties is the latest version of Google Analytics released in October 2020.<\/li>\n\n\n\n<li>The Mesurement ID of the UA property is <code>UA-XXXXXXXX-X<\/code>.<\/li>\n\n\n\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/10089681\" rel=\"nofollow\">https:\/\/support.google.com\/analytics\/answer\/10089681<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>For GA4 properties with &#8220;Google Signals&#8221; enabled\n<ul class=\"wp-block-list\">\n<li>&#8220;Threshold&#8221; may be applied in &#8220;Report including number of users&#8221; etc., and some data may be excluded.\n<ul class=\"wp-block-list\">\n<li>From the viewpoint of privacy protection, it is applied when the amount of data is small. &#8220;(not set)&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&#8220;Do not include user attribute information&#8221; and &#8220;Extend the specified period&#8221; are effective.<\/li>\n\n\n\n<li>Official Document: GA4 &#8211; Data thresholds\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/9383630\" rel=\"nofollow\">https:\/\/support.google.com\/analytics\/answer\/9383630<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Refer to &#8220;GA4 Dimensions &#038; Metrics Explorer&#8221; for &#8220;API Name&#8221; of metrics and dimensions.\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ga-dev-tools.web.app\/ga4\/dimensions-metrics-explorer\/\" rel=\"nofollow\">https:\/\/ga-dev-tools.web.app\/ga4\/dimensions-metrics-explorer\/<\/a><\/li>\n\n\n\n<li>e.g., <code>sessions<\/code> by <code>city<\/code><\/li>\n\n\n\n<li>e.g., <code>screenPageViews<\/code> by <code>browser<\/code><\/li>\n\n\n\n<li>e.g., <code>conversions<\/code> by <code>pagePath<\/code><\/li>\n\n\n\n<li>e.g., <code>activeUsers<\/code> by <code>hostName<\/code><\/li>\n\n\n\n<li>e.g., <code>userEngagementDuration<\/code> by <code>dayOfWeek<\/code><\/li>\n\n\n\n<li>Official Document: GA4 &#8211; Dimensions and metrics\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/support.google.com\/analytics\/answer\/9143382\" rel=\"nofollow\">https:\/\/support.google.com\/analytics\/answer\/9143382<\/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-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"122767\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/excel-find-row\/attachment\/google-analytics-ga4-report-create-custom-2022-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-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-ga4-report-create-custom-2022-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=1200%2C675&amp;ssl=1\" alt=\"Create a TSV report for any Metric from Google Analytics 4 property. One Dimension and one Metric can be specified arbitrarily. Extraction filter is also available. (exact match of the Dimension value).\" class=\"wp-image-122767\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-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=\"557\" height=\"630\" data-attachment-id=\"122771\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/excel-find-row\/attachment\/google-analytics-ga4-report-create-custom-2022-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-config-en.png?fit=955%2C1081&amp;ssl=1\" data-orig-size=\"955,1081\" 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-ga4-report-create-custom-2022-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-config-en.png?fit=557%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-config-en-557x630.png?resize=557%2C630&#038;ssl=1\" alt=\"\" class=\"wp-image-122771\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-config-en.png?resize=557%2C630&amp;ssl=1 557w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-config-en.png?resize=278%2C315&amp;ssl=1 278w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-config-en.png?resize=768%2C869&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-config-en.png?w=955&amp;ssl=1 955w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/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>To place this &#8220;Add-on Automated Step&#8221; on the design screen of the workflow diagram\n<ul class=\"wp-block-list\">\n<li>Import Addon-XML (definition file of this automated step) to Workflow App in advance.<\/li>\n\n\n\n<li>The system admins can also make it available in all Workflow Apps. (App-shared Add-on)<\/li>\n\n\n\n<li>Manual M415: Adding an Auto-Step to be Used in a Business Process Definition\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002247792-M415\" rel=\"nofollow\">https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360002247792-M415<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>To activate the Workflow App including this &#8220;Add-on automated Step&#8221;\n<ul class=\"wp-block-list\">\n<li>Authorize API communications by an authorized user in advance.<\/li>\n\n\n\n<li>Enable &#8220;Google Analytics Data API&#8221; on the Google Cloud Platform\n<ul class=\"wp-block-list\">\n<li>APIs and Services: <code>Google Analytics Data API<\/code>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/console.cloud.google.com\/project\/_\/apis\/library\" rel=\"nofollow\">https:\/\/console.cloud.google.com\/project\/_\/apis\/library<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>OFFICIAL DOCUMENT\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/cloud.google.com\/service-usage\/docs\/enable-disable\" rel=\"nofollow\">https:\/\/cloud.google.com\/service-usage\/docs\/enable-disable<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Create an &#8220;OAuth2.0 client ID&#8221; on the Google Cloud Platform\n<ul class=\"wp-block-list\">\n<li>Creating credentials:\n<ul class=\"wp-block-list\">\n<li><code>OAuth Client ID<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Application type:\n<ul class=\"wp-block-list\">\n<li><code>Web application<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Name:\n<ul class=\"wp-block-list\">\n<li><code>Questetra to GA4<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Authorized JavaScript origins:\n<ul class=\"wp-block-list\">\n<li><code>https:\/\/your-subdomain.questetra.net<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Authorized redirect URI:\n<ul class=\"wp-block-list\">\n<li><code>https:\/\/s.questetra.net\/oauth2callback<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>OFFICIAL DOCUMENT\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/cloud.google.com\/endpoints\/docs\/frameworks\/java\/javascript-client\" rel=\"nofollow\">https:\/\/cloud.google.com\/endpoints\/docs\/frameworks\/java\/javascript-client<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Set &#8220;HTTP authentication (OAuth2)&#8221; on the Questetra Workflow-App\n<ul class=\"wp-block-list\">\n<li>Name:\n<ul class=\"wp-block-list\">\n<li><code>Questetra-GA4<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Authorization Endpoint URL:\n<ul class=\"wp-block-list\">\n<li><code>https:\/\/accounts.google.com\/o\/oauth2\/v2\/auth?access_type=offline&amp;prompt=consent<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Token Endpoint URL:\n<ul class=\"wp-block-list\">\n<li><code>https:\/\/oauth2.googleapis.com\/token<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Scope:\n<ul class=\"wp-block-list\">\n<li><code>https:\/\/www.googleapis.com\/auth\/analytics.readonly<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Client ID \/ Consumer Secret:\n<ul class=\"wp-block-list\">\n<li>(see above &#8220;OAuth 2.0 client ID&#8221;)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>OFFICIAL DOCUMENT\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developers.google.com\/identity\/protocols\/oauth2\/web-server#httprest\" rel=\"nofollow\">https:\/\/developers.google.com\/identity\/protocols\/oauth2\/web-server#httprest<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>In this Add-on Automated Step, &#8220;Data API (GA4)&#8221; is used to acquire data from Google Analytics.\n<ul class=\"wp-block-list\">\n<li>Not &#8220;Reporting API V4&#8221;.<\/li>\n\n\n\n<li>Not &#8220;Core Reporting API V3&#8221;.<\/li>\n\n\n\n<li>Requests with a response longer than 30 seconds may result in an error.<\/li>\n\n\n\n<li>Detailed specifications of &#8220;Google Analytics Data API (GA4)&#8221;\n<ul class=\"wp-block-list\">\n<li>GUIDE: Creating a Report\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/basics\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/basics<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>REFERENCE: Method: properties.runReport\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/rest\/v1beta\/properties\/runReport\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/rest\/v1beta\/properties\/runReport<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Can also filter the ranking list by Dimension Filter (inListFilter).\n<ul class=\"wp-block-list\">\n<li>Only data which dimension values\u200bexactly match any of the values will be extracted. (Case Sensitive)\n<ul class=\"wp-block-list\">\n<li>&#8220;<code>country<\/code>&#8220;: &#8220;<code><strong>Canada,Japan<\/strong><\/code>&#8220;<\/li>\n\n\n\n<li>&#8220;<code>customEvent:locale\"<\/code>: &#8220;<code><strong>ja<\/strong><\/code>&#8220;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>DATE type data or DATETIME type data are also available to specify the date range.\n<ul class=\"wp-block-list\">\n<li><code>YYYY-MM-DD<\/code>, <code>YYYY\/MM\/DD<\/code>, <code>YYYY-MM-DD hh:mm<\/code> etc<\/li>\n\n\n\n<li>Must be written in the order of Year Month Date with a delimiter.<\/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=\"A1JXZiIyNX\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4report-pageviews-by-hostname-pagepath-2022\/\">Google Analytics #GA4_Report: PageViews by Hostname-PagePath<\/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;Google Analytics #GA4_Report: PageViews by Hostname-PagePath&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/google-analytics-ga4report-pageviews-by-hostname-pagepath-2022\/embed\/#?secret=CXijItX2K2#?secret=A1JXZiIyNX\" data-secret=\"A1JXZiIyNX\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Creates a TSV report for any Metric from Google Analytics 4 property. One Dimension and one Metric can be specified arbitrarily. Extraction filter is also available. (exact match of the Dimension value).<\/p>\n","protected":false},"author":2,"featured_media":122767,"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":"Create a TSV report for any Metric from Google Analytics 4 property. One Dimension and one Metric can be specified arbitrarily. Extraction filter is also available. (exact match of the Dimension value).","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,3252],"class_list":["post-122775","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-advertising-mgmt","tag-google-analytics-data-api-v1"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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":"Creates a TSV report for any Metric from Google Analytics 4 property. One Dimension and one Metric can be specified arbitrarily. Extraction filter is also available. (exact match of the Dimension value).","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-vWf","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":122965,"url":"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4-realtime-report-create-custom-2022\/","url_meta":{"origin":122775,"position":0},"title":"Google Analytics #GA4_Realtime_Report: Create Custom","author":"IMAMURA, Genichi","date":"2022-06-15","format":false,"excerpt":"Creates a TSV report for any Metric from events in the last 30 mins (Google Analytics 4 property). One Realtime Dimension and one Realtime Metric can be specified arbitrarily. Extraction filter is also available. (exact match of the Dimension value).","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 Realtime Report, Create Custom","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-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\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-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\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-en.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":122775,"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":122971,"url":"https:\/\/support.questetra.com\/ja\/addons\/google-analytics-ga4-realtime-report-create-custom-2022\/","url_meta":{"origin":122775,"position":2},"title":"Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9 #GA4_Realtime\u30ec\u30dd\u30fc\u30c8: \u30ab\u30b9\u30bf\u30e0\u4f5c\u6210","author":"IMAMURA, Genichi","date":"2022-06-15","format":false,"excerpt":"\u76f4\u8fd130\u5206\u306e\u767a\u751f\u30a4\u30d9\u30f3\u30c8\u306b\u3064\u3044\u3066\u4efb\u610f\u6307\u6a19\uff08\u30e1\u30c8\u30ea\u30c3\u30af\uff09\u3067TSV\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\uff08Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b94\u30d7\u30ed\u30d1\u30c6\u30a3\u5c02\u7528\uff09\u30021\u3064\u306e Realtime \u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u30681\u3064\u306e Realtime \u6307\u6a19\u3092\u4efb\u610f\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u62bd\u51fa\u30d5\u30a3\u30eb\u30bf\u30fc\u3082\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\uff08Realtime \u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u5024\u306e\u5b8c\u5168\u4e00\u81f4\uff09\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: GA4 Realtime \u30ec\u30dd\u30fc\u30c8, \u30ab\u30b9\u30bf\u30e0\u4f5c\u6210","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":120658,"url":"https:\/\/support.questetra.com\/ja\/addons\/google-analytics-ga4report-pageviews-by-hostname-pagepath-2022\/","url_meta":{"origin":122775,"position":3},"title":"Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9 #GA4\u30ec\u30dd\u30fc\u30c8: Hostname-PagePath \u3054\u3068\u306e PageViews","author":"IMAMURA, Genichi","date":"2022-04-14","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\u3054\u3068\u306e\u3001\u8868\u793a\u56de\u6570\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u3001Engaged\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u3001Active\u30e6\u30fc\u30b6\u6570\u304cTSV\u5f62\u5f0f\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u62bd\u51fa\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306e\u6307\u5b9a\uff08\u5b8c\u5168\u4e00\u81f4\u30ea\u30b9\u30c8\uff09\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":"Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9: GA4\u30ec\u30dd\u30fc\u30c8, Hostname-PagePath \u3054\u3068\u306e PageViews","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/04\/google-analytics-ga4report-pageviews-2022-capture-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\/2022\/04\/google-analytics-ga4report-pageviews-2022-capture-ja.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-ja.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-ja.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-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":122779,"url":"https:\/\/support.questetra.com\/ja\/addons\/google-analytics-ga4-report-create-custom-2022\/","url_meta":{"origin":122775,"position":4},"title":"Google \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9 #GA4\u30ec\u30dd\u30fc\u30c8: \u30ab\u30b9\u30bf\u30e0\u4f5c\u6210","author":"IMAMURA, Genichi","date":"2022-06-10","format":false,"excerpt":"\u4efb\u610f\u306e\u6307\u6a19\uff08\u30e1\u30c8\u30ea\u30c3\u30af\uff09\u3067TSV\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\uff08Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b94\u30d7\u30ed\u30d1\u30c6\u30a3\u5c02\u7528\uff09\u30021\u3064\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u30681\u3064\u306e\u6307\u6a19\u3092\u4efb\u610f\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u62bd\u51fa\u30d5\u30a3\u30eb\u30bf\u30fc\u3082\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\uff08\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u5024\u306e\u5b8c\u5168\u4e00\u81f4\uff09\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: GA4\u30ec\u30dd\u30fc\u30c8, \u30ab\u30b9\u30bf\u30e0\u4f5c\u6210","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-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\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-report-create-custom-2022-capture-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67373,"url":"https:\/\/support.questetra.com\/en\/addons\/googleanalytics-reportspv\/","url_meta":{"origin":122775,"position":5},"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":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/122775","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=122775"}],"version-history":[{"count":6,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/122775\/revisions"}],"predecessor-version":[{"id":149778,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/122775\/revisions\/149778"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/122767"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=122775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=122775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=122775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}