{"id":3088,"date":"2021-03-18T19:08:28","date_gmt":"2021-03-18T10:08:28","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=3088"},"modified":"2021-03-18T19:09:18","modified_gmt":"2021-03-18T10:09:18","slug":"post-3088","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=3088","title":{"rendered":"Google Analytics API\u306e\u6307\u6a19\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d\u79f0\u306e\u65e5\u672c\u8a9e\u5bfe\u5fdc\u8868\u307e\u3068\u3081\u30102021\u5e74\u7248\u3011\u203bGA4\u672a\u5bfe\u5fdc"},"content":{"rendered":"<p>Google Analytics API\u3067\u306f\u3001\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bd\u30d5\u30c8\u306e\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3067\u95b2\u89a7\u3067\u304d\u308b\u3001\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u3084\u30e6\u30fc\u30b6\u30fc\u6570\u306a\u3069\u306e\u30ec\u30dd\u30fc\u30c8\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3067\u95b2\u89a7\u3057\u3066\u3044\u308b\u6307\u6a19\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066API\u3067\u3069\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308b\u304b\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u203bGoogle Analytics API\u306f\u65b0\u3057\u3044GA4\u306b\u306f\u672a\u5bfe\u5fdc\u306a\u306e\u3067\u3001\u5f93\u6765\u7248\u306e\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u304c\u5bfe\u8c61\u3067\u3059\u3002<\/p>\n<h2>GA\u306e\u6307\u6a19\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306fAPI\u3067\u3069\u3046\u53d6\u5f97\u3059\u308b\u304b\uff1f<\/h2>\n<p>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9(GA)\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u300cGoogle Analytics API \u300d\u306e\u5229\u7528\u306b\u969b\u3057\u3066\u899a\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u304c\u3001\u300cGA\u306e\u6307\u6a19\u540d\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d\u3068API\u3067\u306e\u5bfe\u5fdc\u300d\u3067\u3059\u3002<\/p>\n<p>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306f\u65e5\u672c\u8a9e\u5316\u3055\u308c\u3066\u304a\u308a\u3001\u65e5\u672c\u4eba\u3067\u3082\u5229\u7528\u3057\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3091\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002.jpg\" alt=\"Google Analytics(\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9)\u306e\u30ec\u30dd\u30fc\u30c8\u7ba1\u7406\u753b\u9762\" width=\"800\" height=\"424\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002-300x159.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002-768x407.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002-530x281.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002-565x299.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002-710x376.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_002-725x384.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u3057\u304b\u3057\u3001\u6307\u6a19\u540d\u3084\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d\u304c\u65e5\u672c\u8a9e\u5316\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u305f\u3081\u3001Google Analytics API\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u5404\u6307\u6a19\u3092API\u3067\u3069\u3046\u53d6\u5f97\u3059\u308b\u304b\u77e5\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b\u82f1\u8a9e\u7248\u306eGA\u306a\u3089\u3001\u6307\u6a19\u540d\u304c\u305d\u306e\u307e\u307eAPI\u3067\u5229\u7528\u3067\u304d\u308b\u305f\u3081\u3001\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u6570\u306e\u6307\u6a19\u3092Google Analytics API\u3067\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u300cga:pageviews\u300d\u3001\u5e74\u9f62\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306f\u300cga:userAgeBracket\u300d\u3067\u3059\u3002<\/p>\n<p>\u65e5\u672c\u8a9e\u306e\u6307\u6a19\u540d\u3084\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d\u3092\u305d\u306e\u307e\u307e\u82f1\u8a33\u3057\u305f\u3088\u3046\u306a\u3082\u306e\u3082\u3042\u308c\u3070\u3001\u3055\u3089\u306b\u8ffd\u52a0\u306e\u60c5\u5831\u304c\u5fc5\u8981\u306a\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u6307\u6a19\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u3092\u3001Google Analytics API\u3067\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u3092\u5bfe\u5fdc\u8868\u3068\u3057\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>Google Analytics API\u306e\u6307\u6a19<\/h2>\n<p>Google Analytics API\u3067\u5f15\u6570\u3068\u3057\u3066\u6307\u5b9a\u304c\u5fc5\u9808\u306a\u6307\u6a19\u540d\u306e\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3068\u306e\u5bfe\u5fdc\u8868\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3090\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001.jpg\" alt=\"Google Analytics API \u306e\u6307\u6a19\u306e\u547c\u3073\u51fa\u3057\u65b9\u306e\u5bfe\u5fdc\" width=\"1200\" height=\"612\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001-300x153.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001-768x392.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001-1024x522.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001-530x270.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001-565x288.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001-710x362.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2021\/03\/20210318_auto_001-725x370.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<h3>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u57fa\u672c\u7684\u306a\u6307\u6a19(10\u7a2e\u985e)<\/h3>\n<p>\u307e\u305a\u306f\u3001\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u30e6\u30fc\u30b6\u30fc\u30ec\u30dd\u30fc\u30c8\u3067\u3001\u3088\u304f\u5229\u7528\u3059\u308b\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u3084\u30e6\u30fc\u30b6\u30fc\u6570\u3001\u76f4\u5e30\u7387\u3001\u30b3\u30f3\u30d0\u30fc\u30b8\u30e7\u30f3\u6570\u306a\u3069\u306e\u6307\u6a19\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u6307\u6a19\u306f\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3067\u3082\u3088\u304f\u95b2\u89a7\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001Google Analytics API \u304b\u3089\u5024\u3092\u53d6\u5f97\u3059\u308b\u969b\u306b\u3082\u53c2\u7167\u3059\u308b\u983b\u5ea6\u304c\u9ad8\u3044\u3067\u3059\u3002<\/p>\n<table style=\"height: 450px; width: 100%; border-collapse: collapse;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\">GA\u306e\u6307\u6a19<\/td>\n<td style=\"width: 50%;\">API\u306e\u6307\u6a19\u540d<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:pageviews<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30bb\u30c3\u30b7\u30e7\u30f3\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:sessions<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30e6\u30fc\u30b6\u30fc\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:users<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u65b0\u898f\u30e6\u30fc\u30b6\u30fc\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:newUsers<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30da\u30fc\u30b8\/\u30bb\u30c3\u30b7\u30e7\u30f3<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:pageviewsPerSession<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u76f4\u5e30\u7387<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:bounceRate<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30a4\u30d9\u30f3\u30c8\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:totalEvents<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u5e73\u5747\u6ede\u5728\u6642\u9593<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:avgTimeOnPage<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u5168\u30b3\u30f3\u30d0\u30fc\u30b8\u30e7\u30f3\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:goalCompletionsAll<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30b3\u30f3\u30d0\u30fc\u30b8\u30e7\u30f3\u7387<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:goalCompletionsRateAll<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Google Analytics API \u306e\u6307\u6a19\u540d(\u5fdc\u7528\u7de8)<\/h3>\n<p>\u5fdc\u7528\u7de8\u3067\u306f\u3001\u57fa\u672c\u7684\u306a\u5185\u5bb9\u306b\u8ffd\u52a0\u3067\u5206\u6790\u3059\u308b\u6307\u6a19\u306b\u52a0\u3048\u3001\u30b5\u30a4\u30c8\u306e\u8868\u793a\u901f\u5ea6\u306a\u3069\u306e\u30b7\u30b9\u30c6\u30e0\u9762\u306e\u6307\u6a19\u3001GoogleAdsense\u306e\u53ce\u76ca\u306e\u6307\u6a19\u30928\u7a2e\u985e\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 630px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">GA\u306e\u6307\u6a19<\/td>\n<td style=\"width: 50%; height: 45px;\">API\u306e\u6307\u6a19\u540d<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30e6\u30fc\u30b6\u30fc\u5f53\u305f\u308a\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:sessionsPerUser<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u96e2\u8131\u7387<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:exitRate<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u5e73\u5747\u8aad\u307f\u8fbc\u307f\u6642\u9593<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:avgPageLoadTime<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u5e73\u5747\u30b5\u30fc\u30d0\u30fc\u5fdc\u7b54\u6642\u9593<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:avgServerResponseTime<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30aa\u30fc\u30ac\u30cb\u30c3\u30af\u691c\u7d22<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:organicSearches<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">Adsense\u306e\u53ce\u76ca<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:adsenseRevenue<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30d1\u30d6\u30ea\u30c3\u30b7\u30e3\u30fc\u306e\u53ce\u76ca<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:totalPublisherRevenue<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30d2\u30c3\u30c8\u6570<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:hits<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5e73\u5747\u8aad\u307f\u8fbc\u307f\u6642\u9593\u3084\u5e73\u5747\u30b5\u30fc\u30d0\u30fc\u5fdc\u7b54\u6642\u9593\u304c\u9045\u3044\u5834\u5408\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30da\u30fc\u30b8\u3092\u95b2\u89a7\u3059\u308b\u305f\u3081\u306b\u5f85\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30a4\u30c8\u30d8\u30eb\u30b9\u306e\u9762\u3084\u5e83\u544a\u306b\u3088\u308b\u53ce\u76ca\u306a\u3069\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306b\u3053\u308c\u3089\u306e\u6307\u6a19\u3092API\u3067\u6307\u5b9a\u3057\u3066\u53d6\u5f97\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>Google Analytics API\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3<\/h2>\n<p>\u6b21\u306b\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u3001Google Analytics API\u3068\u306e\u5bfe\u5fdc\u8868\u3092\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n<p>\u6307\u6a19\u3088\u308a\u3082\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306e\u65b9\u304c\u7a2e\u985e\u304c\u8c4a\u5bcc\u306a\u306e\u3067\u3001\u57fa\u672c\u7684\u306a\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u3068\u5fdc\u7528\u7de8\u5408\u308f\u305b\u3066\u3001\u5206\u6790\u8ef8\u3067\u3088\u304f\u4f7f\u304625\u7a2e\u985e\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306eAPI\u5bfe\u5fdc\u8868\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u57fa\u672c\u7684\u306a\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3(10\u7a2e\u985e)<\/h3>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\">GA\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3<\/td>\n<td style=\"width: 50%;\">API\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30da\u30fc\u30b8<\/td>\n<td style=\"width: 50%;\">ga:pagePath<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb<\/td>\n<td style=\"width: 50%;\">ga:pageTtitle<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8<\/td>\n<td style=\"width: 50%;\">ga:landingPagePath<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u53c2\u7167\u5143<\/td>\n<td style=\"width: 50%;\">ga:source<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u53c2\u7167\u5143\/\u30e1\u30c7\u30a3\u30a2<\/td>\n<td style=\"width: 50%;\">ga:sourceMedium<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30c7\u30d5\u30a9\u30eb\u30c8\u30c1\u30e3\u30cd\u30eb\u30b0\u30eb\u30fc\u30d7<\/td>\n<td style=\"width: 50%;\">ga:channelGrouping<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30a4\u30d9\u30f3\u30c8\u30ab\u30c6\u30b4\u30ea<\/td>\n<td style=\"width: 50%;\">ga:eventCategory<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30a4\u30d9\u30f3\u30c8\u30e9\u30d9\u30eb<\/td>\n<td style=\"width: 50%;\">ga:eventLabel<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30a4\u30d9\u30f3\u30c8\u30a2\u30af\u30b7\u30e7\u30f3<\/td>\n<td style=\"width: 50%;\">ga:eventAction<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u65e5\u4ed8<\/td>\n<td style=\"width: 50%;\">ga:date<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30da\u30fc\u30b8\u3084\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\u306a\u3069\u306f\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fc\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306b\u3088\u304f\u8a2d\u5b9a\u3059\u308b\u6307\u6a19\u3067\u3059\u3002<\/p>\n<p>\u3069\u3053\u304b\u3089\u306e\u6d41\u5165\u5143\u304b\u3068\u3044\u3046\u70b9\u3067\u3001\u53c2\u7167\u5143\u3084\u53c2\u7167\u5143\u30e1\u30c7\u30a3\u30a2\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30c1\u30e3\u30cd\u30eb\u30b0\u30eb\u30fc\u30d7\u3092\u30bb\u30ab\u30f3\u30c0\u30ea\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u306bGoogle Tag Manager\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u7387\u3084\u8aad\u4e86\u7387\u306a\u3069\u306e\u30a4\u30d9\u30f3\u30c8\u8a08\u6e2c\u3057\u3066\u3044\u308b\u969b\u306b\u3088\u304f\u4f7f\u3046\u30a4\u30d9\u30f3\u30c8\u5468\u308a\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f33\u7a2e\u3067\u3059\u3002<\/p>\n<h3>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306eAPI\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u5bfe\u5fdc\u8868(\u5fdc\u7528\u7de815\u7a2e)<\/h3>\n<table style=\"border-collapse: collapse; width: 100%; height: 463px;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 50%;\">GA\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3<\/td>\n<td style=\"width: 50%;\">API\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u6027\u5225<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:gender<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u5e74\u9f62<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:userAgeBracket<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9(Web\u304bAMP\u304b\u306a\u3069)<\/td>\n<td style=\"width: 50%;\">ga:dataSource<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30bd\u30fc\u30b7\u30e3\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:socialNetwork<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 48px;\">\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0<\/td>\n<td style=\"width: 50%; height: 48px;\">ga:operatingSystem<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30c7\u30d0\u30a4\u30b9\u30ab\u30c6\u30b4\u30ea<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:deviceCategory<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30d6\u30e9\u30a6\u30b6<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:browser<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 10px;\">\u5e02\u753a\u6751<\/td>\n<td style=\"width: 50%; height: 10px;\">ga:city<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u5730\u57df(\u90fd\u9053\u5e9c\u770c)<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:region<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30e2\u30d0\u30a4\u30eb\u30c7\u30d0\u30a4\u30b9\u30d6\u30e9\u30f3\u30c9(\u30e1\u30fc\u30ab\u30fc\u540d)<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:mobileDeviceBrand<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30e2\u30d0\u30a4\u30eb\u30c7\u30d0\u30a4\u30b9\u30e2\u30c7\u30eb(\u6a5f\u7a2e\u540d)<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:mobileDeviceModel<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u8cfc\u8cb7\u610f\u5411\u306e\u5f37\u3044\u30bb\u30b0\u30e1\u30f3\u30c8<\/td>\n<td style=\"width: 50%;\">ga:interestMarketCategory<\/td>\n<\/tr>\n<tr style=\"height: 45px;\">\n<td style=\"width: 50%; height: 45px;\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID<\/td>\n<td style=\"width: 50%; height: 45px;\">ga:clientId<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 50%;\">\u30ab\u30b9\u30bf\u30e0\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f31<\/td>\n<td style=\"width: 50%;\">ga:dimension1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30e6\u30fc\u30b6\u30fc\u306e\u6027\u5225\u3084\u5e74\u9f62\u3001\u5229\u7528\u3057\u3066\u3044\u308b\u30c7\u30d0\u30a4\u30b9\u3084OS\u3001\u5730\u57df\u306a\u3069\u306e\u60c5\u5831\u3092\u53c2\u7167\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u30e6\u30fc\u30b6\u30fc\u3092\u7d5e\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3069\u306e\u5730\u57df\u304b\u3089\u30a2\u30af\u30bb\u30b9\u304c\u591a\u3044\u304b\u3001\u6027\u5225\u00d7\u5e74\u9f62\u5c64\u3067\u306f\u3069\u3053\u306e\u30e6\u30fc\u30b6\u30fc\u5c64\u304c\u95b2\u89a7\u3057\u3066\u3044\u308b\u304b\u3068\u3044\u3063\u305f\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u6307\u6a19\u3092\u898b\u3066\u3044\u308b\u3060\u3051\u3067\u306f\u5f97\u3089\u308c\u306a\u3044\u5207\u308a\u53e3\u3067\u30c7\u30fc\u30bf\u304c\u898b\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u300c\u30e6\u30fc\u30b6\u30fc\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u300d\u306e\u30ec\u30dd\u30fc\u30c8\u753b\u9762\u3067\u53d6\u5f97\u3067\u304d\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u533f\u540d\u306a\u30e6\u30fc\u30b6\u30fc\u306e\u30b5\u30a4\u30c8\u5185\u3067\u306e\u884c\u52d5\u3082\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Google Analytics API\u306e\u6307\u6a19\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n<p>Google Analytics API\u3067\u4f7f\u7528\u3059\u308b\u6307\u6a19(\u30e1\u30c8\u30ea\u30af\u30b9)\u3068\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306e\u540d\u79f0\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\u306f\u3001<a href=\"https:\/\/ga-dev-tools.appspot.com\/query-explorer\/\" target=\"_blank\" rel=\"noopener noreferrer\">Query Explorer<\/a>\u304c\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n<p>metrics\u3084dimension\u306b\u30ef\u30fc\u30c9\u3092\u6253\u3061\u8fbc\u3080\u3068\u5019\u88dc\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u540d\u3068\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"v3Dwbvp3S8\"><p><a href=\"https:\/\/auto-worker.com\/blog\/?p=264\">Query Explorer\u4f7f\u3044\u65b9\u307e\u3068\u3081\u30fcGoogle Analytics\u306e\u30c7\u30fc\u30bf\u3092API\u3067\u62bd\u51fa<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Query Explorer\u4f7f\u3044\u65b9\u307e\u3068\u3081\u30fcGoogle Analytics\u306e\u30c7\u30fc\u30bf\u3092API\u3067\u62bd\u51fa&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=264&#038;embed=true#?secret=dCOz1ERFdh#?secret=v3Dwbvp3S8\" data-secret=\"v3Dwbvp3S8\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u203bQuery Explorer\u306e\u4f7f\u3044\u65b9\u306f\u4e0a\u8a18\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Google Apps Script\u3067Google Analytics API\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u4eca\u56de\u7d39\u4ecb\u3057\u305fGoogle Analytics API\u3092\u4f7f\u3063\u3066\u3001Google Apps Script(GAS)\u3067\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"Rkuzsp5KpT\"><p><a href=\"https:\/\/auto-worker.com\/blog\/?p=3005\">\u30102021\u5e74\u7248\u3011GAS\u3067\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u6307\u6a19\u3092\u53d6\u5f97\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u8a18\u9332\u3059\u308b\u65b9\u6cd5<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u30102021\u5e74\u7248\u3011GAS\u3067\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u6307\u6a19\u3092\u53d6\u5f97\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u8a18\u9332\u3059\u308b\u65b9\u6cd5&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=3005&#038;embed=true#?secret=Qfm8mv4ynI#?secret=Rkuzsp5KpT\" data-secret=\"Rkuzsp5KpT\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>GAS\u306fGoogle\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u5404\u7a2eAPI\u30b5\u30fc\u30d3\u30b9\u3068\u76f8\u6027\u304c\u3088\u304f\u3001Google Analytics API\u3082\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u304b\u3089\u6709\u52b9\u306b\u3059\u308b\u3060\u3051\u3067\u7c21\u5358\u306b\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u30c7\u30fc\u30bf\u3092GAS\u3067\u53d6\u5f97\u3057\u3001\u51e6\u7406\u3057\u305f\u5f8c\u306b\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u51fa\u3059\u3068\u3044\u3063\u305f\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n<p>\u4eca\u56de\u3001\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u30ec\u30dd\u30fc\u30c8\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308bGoogle Analytics API\u306e\u6307\u6a19\u540d\u3068\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u540d\u306e\u5bfe\u5fdc\u8868\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u306e\u30ec\u30dd\u30fc\u30c8\u753b\u9762\u3067\u306f\u6307\u6a19\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306f\u65e5\u672c\u8a9e\u3067\u3059\u304c\u3001Google Analytics API\u3067\u306f\u82f1\u8a9e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u3088\u304f\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u306e\u30ec\u30dd\u30fc\u30c8\u3067\u5229\u7528\u3059\u308b\u6307\u6a19\u3068\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u5bfe\u5fdc\u8868\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Google Analytics API\u306e\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u3068\u3057\u3066\u3001\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics API\u3067\u306f\u3001\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bd\u30d5\u30c8\u306e\u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3067\u95b2\u89a7\u3067\u304d\u308b\u3001\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u3084\u30e6\u30fc\u30b6\u30fc\u6570\u306a\u3069\u306e\u30ec\u30dd\u30fc\u30c8\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u30b0\u30fc\u30b0\u30eb\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u3067\u95b2\u89a7\u3057\u3066\u3044\u308b\u6307\u6a19\u30fb\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3090,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[99,609,608],"class_list":["post-3088","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","tag-google-analytics","tag-609","tag-608"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3088"}],"version-history":[{"count":3,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3088\/revisions"}],"predecessor-version":[{"id":3093,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3088\/revisions\/3093"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/3090"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}