{"id":122965,"date":"2022-06-15T15:21:39","date_gmt":"2022-06-15T06:21:39","guid":{"rendered":"https:\/\/support.questetra.com\/?p=122965"},"modified":"2023-08-18T14:37:22","modified_gmt":"2023-08-18T05:37:22","slug":"google-analytics-ga4-realtime-report-create-custom-2022","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4-realtime-report-create-custom-2022\/","title":{"rendered":"Google Analytics #GA4_Realtime_Report: Create Custom"},"content":{"rendered":"<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: GA4 Realtime 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 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).<\/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 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;screenPageViews&#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> 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><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> 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><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 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   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; runRealtimeReport\n\/\/ https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/rest\/v1beta\/properties\/runRealtimeReport\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.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;:runRealtimeReport&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\/* engine.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;screenPageViews&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;3532&quot;\n        }\n      ]\n    },\n    { ... },\n    {\n      &quot;dimensionValues&quot;: [\n        {\n          &quot;value&quot;: &quot;&quot;\n        }\n      ],\n      &quot;metricValues&quot;: [\n        {\n          &quot;value&quot;: &quot;378&quot;\n        }\n      ]\n    },\n    { ... },\n    {\n      &quot;dimensionValues&quot;: [\n        {\n          &quot;value&quot;: &quot;(not set)&quot;\n        }\n      ],\n      &quot;metricValues&quot;: [\n        {\n          &quot;value&quot;: &quot;115&quot;\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;12221&quot;\n        }\n      ]\n    }\n  ],\n  &quot;rowCount&quot;: 94,\n  &quot;kind&quot;: &quot;analyticsData#runRealtimeReport&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\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    - The following four values can be specified as the Realtime Metric. (As of 202206)\n        - &quot;`activeUsers`&quot;: Active users (the number of distinct users who visited your site or app).\n        - &quot;`conversions`&quot;: The count of conversion events.\n        - &quot;`eventCount`&quot;: The count of events.\n        - &quot;`screenPageViews`&quot;: Views\n        - Official Document: &quot;Realtime Dimensions & Metrics&quot;\n            - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/realtime-api-schema\n    - The following 16 values can be specified for the Realtime dimension. (as of 202206)\n        - &quot;`appVersion`&quot;: App version (versionName (Android) or short bundle version (iOS))\n        - &quot;`audienceId`&quot;: Audience ID\n        - &quot;`audienceName`&quot;: The given name of an Audience.\n        - &quot;`city`&quot;: The city from which the user activity originated.\n        - &quot;`cityId`&quot;: The geographic ID of the city from which the user activity originated, derived from their IP address.\n        - &quot;`country`&quot;: The country from which the user activity originated.\n        - &quot;`countryId`&quot;: The geographic ID of the country from which the user activity originated. (ISO 3166-1 alpha-2 standard)\n        - &quot;`deviceCategory`&quot;: The type of device: Desktop, Tablet, or Mobile.\n        - &quot;`eventName`&quot;: The name of the event.\n        - &quot;`minutesAgo`&quot;: The number of minutes ago that an event was collected. 00 is the current minute.\n        - &quot;`platform`&quot;: The platform on which your app or website ran; for example, web, iOS, or Android.\n        - &quot;`streamId`&quot;: The numeric data stream identifier for your app or website.\n        - &quot;`streamName`&quot;: The data stream name for your app or website.\n        - &quot;`unifiedScreenName`&quot;: The page title (web) or screen name (app) on which the even\n        - {User-scoped Custom Dimension}\n            - Event-scoped custom dimensions are not currently supported in the Realtime API.\n- Refer to the official document for &quot;API Name&quot; (latest information) of metrics and dimensions.\n    - Official Document: &quot;Realtime Dimensions & Metrics&quot;\n        - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/realtime-api-schema\n    - Examples\n        - e.g., Number of views (`screenPageViews`) for each device (`deviceCategory`)\n        - e.g., Number of conversions (`conversions`) for each country (`country`)\n        - e.g., Number of active users (`activeUsers`) for each city (`city`)\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- 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\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    - Realtime \u6307\u6a19\u3068\u3057\u3066\u306f\u6307\u5b9a\u3067\u304d\u308b\u5024\u306f\u4ee5\u4e0b\u306e4\u3064\u3067\u3059\u3002\uff08202206\u73fe\u5728\uff09\n        - &quot;`activeUsers`&quot;: \u30a2\u30af\u30c6\u30a3\u30d6\u30e6\u30fc\u30b6\u30fc\u6570 (\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u306e\u8a2a\u554f\u8005\u6570)\n        - &quot;`conversions`&quot;: \u30b3\u30f3\u30d0\u30fc\u30b8\u30e7\u30f3\u30a4\u30d9\u30f3\u30c8\u306e\u6570\n        - &quot;`eventCount`&quot;: \u30a4\u30d9\u30f3\u30c8\u306e\u6570\n        - &quot;`screenPageViews`&quot;: \u8868\u793a\u56de\u6570\n    - Realtime \u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u3068\u3057\u3066\u306f\u6307\u5b9a\u3067\u304d\u308b\u5024\u306f\u4ee5\u4e0b\u306e16\u7a2e\u3067\u3059\u3002\uff08202206\u73fe\u5728\uff09\n        - &quot;`appVersion`&quot;: Android \u306e versionName \u3082\u3057\u304f\u306f iOS \u306e Short Bundle Version\n        - &quot;`audienceId`&quot;: \u30aa\u30fc\u30c7\u30a3\u30a8\u30f3\u30b9ID\n        - &quot;`audienceName`&quot;: \u30aa\u30fc\u30c7\u30a3\u30a8\u30f3\u30b9\u540d\n        - &quot;`city`&quot;: \u30e6\u30fc\u30b6\u30fc\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u304c\u767a\u751f\u3057\u305f\u90fd\u5e02\u306e\u540d\u524d\n        - &quot;`cityId`&quot;: \u30e6\u30fc\u30b6\u30fc\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u304c\u767a\u751f\u3057\u305f\u90fd\u5e02ID\uff08IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\uff09\n        - &quot;`country`&quot;: \u30e6\u30fc\u30b6\u30fc\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u304c\u767a\u751f\u3057\u305f\u56fd\u5730\u57df\u306e\u540d\u524d\n        - &quot;`countryId`&quot;: \u30e6\u30fc\u30b6\u30fc\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u304c\u767a\u751f\u3057\u305f\u56fd\u30b3\u30fc\u30c9\uff08ISO 3166-1 alpha-2 standard\uff09\n        - &quot;`deviceCategory`&quot;: \u30c7\u30d0\u30a4\u30b9\uff08Desktop, Tablet, or Mobile\uff09\n        - &quot;`eventName`&quot;: \u30a4\u30d9\u30f3\u30c8\u540d\n        - &quot;`minutesAgo`&quot;: \u30a4\u30d9\u30f3\u30c8\u306e\u53ce\u96c6\u6642\u523b\uff08\u5206\uff09\uff3b00\u306f\u73fe\u5728\uff3d\n        - &quot;`platform`&quot;: \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\uff08Web\u3001iOS\u3001Android\uff09\n        - &quot;`streamId`&quot;: \u30b9\u30c8\u30ea\u30fc\u30e0ID\n        - &quot;`streamName`&quot;: \u30b9\u30c8\u30ea\u30fc\u30e0\u540d\n        - &quot;`unifiedScreenName`&quot;: \u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\uff08\u30a6\u30a7\u30d6\uff09\u307e\u305f\u306f\u30b9\u30af\u30ea\u30fc\u30f3\u30cd\u30fc\u30e0\uff08\u30a2\u30d7\u30ea\uff09\n        - \uff08\u304a\u3088\u3073 User-scoped \u306a\u30ab\u30b9\u30bf\u30e0\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\uff09\n            - Event-scoped \u306a\u30ab\u30b9\u30bf\u30e0\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\uff08202206\u73fe\u5728\uff09\n- \u6307\u6a19\u3084\u30c7\u30a3\u30e1\u30f3\u30b8\u30e7\u30f3\u306e &quot;API Name&quot;\uff08\u6700\u65b0\u60c5\u5831\uff09\u306f\u3001\u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u53c2\u7167\u3057\u307e\u3059\u3002\n    - \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb: &quot;Realtime Dimensions & Metrics&quot;\n        - https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/realtime-api-schema\n    - \u7d44\u307f\u5408\u308f\u305b\u30b5\u30f3\u30d7\u30eb\n        - \u4f8b. \u30c7\u30d0\u30a4\u30b9 (`deviceCategory`) \u3054\u3068\u306e\u8868\u793a\u56de\u6570 (`screenPageViews`)\n        - \u4f8b. \u56fd\u5730\u57df (`country`) \u3054\u3068\u306e\u30b3\u30f3\u30d0\u30fc\u30b8\u30e7\u30f3\u6570 (`conversions`)\n        - \u4f8b. \u90fd\u5e02 (`city`) \u3054\u3068\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u30e6\u30fc\u30b6\u30fc\u6570 (`activeUsers`)\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        - \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        - \u540d\u524d\uff1a\n            - `Questetra to GA4`\n        - \u627f\u8a8d\u6e08\u307f\u306eJavaScript\u751f\u6210\u5143\uff1a\n            - `https:\/\/your-subdomain.questetra.net`\n        - \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- \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*\/\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\/1O09lFj8tMAkb1TemSTDzVYqBlGVIrIEz\/view?usp=drivesdk\" target=\"_blank\">google-analytics-ga4-realtime-report-create-custom-2022.xml<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/140eBu0yGSf7cJuVaE_3hgNFb-USQQj0f\/view?usp=sharing\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/140eBu0yGSf7cJuVaE_3hgNFb-USQQj0f\/view?usp=sharing\">google-analytics-ga4-realtime-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-12 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4-realtime-report-create-custom-2022\/\">https:\/\/support.questetra.com\/addons\/google-analytics-ga4-realtime-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\n\n\n<li>The following four values can be specified as the Realtime Metric. (As of 202206)\n<ul class=\"wp-block-list\">\n<li>&#8220;<code>activeUsers<\/code>&#8220;: Active users (the number of distinct users who visited your site or app).<\/li>\n\n\n\n<li>&#8220;<code>conversions<\/code>&#8220;: The count of conversion events.<\/li>\n\n\n\n<li>&#8220;<code>eventCount<\/code>&#8220;: The count of events.<\/li>\n\n\n\n<li>&#8220;<code>screenPageViews<\/code>&#8220;: Views<\/li>\n\n\n\n<li>Official Document: &#8220;Realtime Dimensions &#038; Metrics&#8221;\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/realtime-api-schema\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/realtime-api-schema<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>The following 16 values can be specified for the Realtime dimension. (as of 202206)\n<ul class=\"wp-block-list\">\n<li>&#8220;<code>appVersion<\/code>&#8220;: App version (versionName (Android) or short bundle version (iOS))<\/li>\n\n\n\n<li>&#8220;<code>audienceId<\/code>&#8220;: Audience ID<\/li>\n\n\n\n<li>&#8220;<code>audienceName<\/code>&#8220;: The given name of an Audience.<\/li>\n\n\n\n<li>&#8220;<code>city<\/code>&#8220;: The city from which the user activity originated.<\/li>\n\n\n\n<li>&#8220;<code>cityId<\/code>&#8220;: The geographic ID of the city from which the user activity originated, derived from their IP address.<\/li>\n\n\n\n<li>&#8220;<code>country<\/code>&#8220;: The country from which the user activity originated.<\/li>\n\n\n\n<li>&#8220;<code>countryId<\/code>&#8220;: The geographic ID of the country from which the user activity originated. (ISO 3166-1 alpha-2 standard)<\/li>\n\n\n\n<li>&#8220;<code>deviceCategory<\/code>&#8220;: The type of device: Desktop, Tablet, or Mobile.<\/li>\n\n\n\n<li>&#8220;<code>eventName<\/code>&#8220;: The name of the event.<\/li>\n\n\n\n<li>&#8220;<code>minutesAgo<\/code>&#8220;: The number of minutes ago that an event was collected. 00 is the current minute.<\/li>\n\n\n\n<li>&#8220;<code>platform<\/code>&#8220;: The platform on which your app or website ran; for example, web, iOS, or Android.<\/li>\n\n\n\n<li>&#8220;<code>streamId<\/code>&#8220;: The numeric data stream identifier for your app or website.<\/li>\n\n\n\n<li>&#8220;<code>streamName<\/code>&#8220;: The data stream name for your app or website.<\/li>\n\n\n\n<li>&#8220;<code>unifiedScreenName<\/code>&#8220;: The page title (web) or screen name (app) on which the even<\/li>\n\n\n\n<li>{User-scoped Custom Dimension}\n<ul class=\"wp-block-list\">\n<li>Event-scoped custom dimensions are not currently supported in the Realtime API.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Refer to the official document for &#8220;API Name&#8221; (latest information) of metrics and dimensions.\n<ul class=\"wp-block-list\">\n<li>Official Document: &#8220;Realtime Dimensions &#038; Metrics&#8221;\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/realtime-api-schema\" rel=\"nofollow\">https:\/\/developers.google.com\/analytics\/devguides\/reporting\/data\/v1\/realtime-api-schema<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Examples\n<ul class=\"wp-block-list\">\n<li>e.g., Number of views (<code>screenPageViews<\/code>) for each device (<code>deviceCategory<\/code>)<\/li>\n\n\n\n<li>e.g., Number of conversions (<code>conversions<\/code>) for each country (<code>country<\/code>)<\/li>\n\n\n\n<li>e.g., Number of active users (<code>activeUsers<\/code>) for each city (<code>city<\/code>)<\/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-realtime-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=\"122957\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/excel-find-row\/attachment\/google-analytics-ga4-realtime-report-create-custom-2022-capture-en\/\" data-orig-file=\"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&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-realtime-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-realtime-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-realtime-report-create-custom-2022-capture-en.png?fit=1200%2C675&amp;ssl=1\" alt=\"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).\" class=\"wp-image-122957\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-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-realtime-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-realtime-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-realtime-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 aligncenter size-large is-style-default q-box\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-config-en.png?ssl=1\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"630\" data-attachment-id=\"122961\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/excel-find-row\/attachment\/google-analytics-ga4-realtime-report-create-custom-2022-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-config-en.png?fit=1163%2C1153&amp;ssl=1\" data-orig-size=\"1163,1153\" 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-realtime-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-realtime-report-create-custom-2022-config-en.png?fit=635%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-config-en-635x630.png?resize=635%2C630&#038;ssl=1\" alt=\"\" class=\"wp-image-122961\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-config-en.png?resize=635%2C630&amp;ssl=1 635w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-config-en.png?resize=318%2C315&amp;ssl=1 318w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-config-en.png?resize=768%2C761&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/06\/google-analytics-ga4-realtime-report-create-custom-2022-config-en.png?w=1163&amp;ssl=1 1163w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-book\"><\/i> Appendix<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>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<\/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><code>country<\/code>: <code>Canada,Japan<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"XgYb854tyD\"><a href=\"http:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4-report-create-custom-2022\/\">Google Analytics #GA4_Report: Create Custom<\/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: Create Custom&#8221; &#8212; Questetra Support\" src=\"http:\/\/support.questetra.com\/addons\/google-analytics-ga4-report-create-custom-2022\/embed\/#?secret=hoKImHBMRV#?secret=XgYb854tyD\" data-secret=\"XgYb854tyD\" 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 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).<\/p>\n","protected":false},"author":2,"featured_media":122957,"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":"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).","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-122965","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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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-realtime-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":0,"uagb_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).","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-vZj","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":122971,"url":"https:\/\/support.questetra.com\/ja\/addons\/google-analytics-ga4-realtime-report-create-custom-2022\/","url_meta":{"origin":122965,"position":0},"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":67373,"url":"https:\/\/support.questetra.com\/en\/addons\/googleanalytics-reportspv\/","url_meta":{"origin":122965,"position":1},"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":122775,"url":"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4-report-create-custom-2022\/","url_meta":{"origin":122965,"position":2},"title":"Google Analytics #GA4_Report: Create Custom","author":"IMAMURA, Genichi","date":"2022-06-10","format":false,"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).","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, Create Custom","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&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-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-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-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-report-create-custom-2022-capture-en.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":122965,"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":120623,"url":"https:\/\/support.questetra.com\/en\/addons\/google-analytics-ga4report-pageviews-by-hostname-pagepath-2022\/","url_meta":{"origin":122965,"position":4},"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":122965,"position":5},"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":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/122965","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=122965"}],"version-history":[{"count":7,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/122965\/revisions"}],"predecessor-version":[{"id":149781,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/122965\/revisions\/149781"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/122957"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=122965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=122965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=122965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}