{"id":1818,"date":"2024-02-16T10:26:10","date_gmt":"2024-02-16T01:26:10","guid":{"rendered":"https:\/\/www.kuix.co.jp\/da-sys\/?p=1818"},"modified":"2024-02-16T10:34:13","modified_gmt":"2024-02-16T01:34:13","slug":"ga4%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e7%9b%ae%e7%9a%84%e5%88%a5%e3%81%ab%e5%88%86%e6%9e%90%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%82%92%e3%82%b3%e3%83%bc%e3%83%89%e4%bb%98%e3%81%8d%e3%81%a7","status":"publish","type":"post","link":"https:\/\/www.kuix.co.jp\/da-sys\/?p=1818","title":{"rendered":"GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u65b9\u6cd5\u3092\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u89e3\u8aac\uff01"},"content":{"rendered":"\n<p>\u524d\u56de\u306e\u8a18\u4e8b\u3067SQL\u306e\u57fa\u672c\u3001UNNEST\u3084_TABLE_SUFFIX\u306a\u3069\u306eGA4\u30c7\u30fc\u30bf\u3078\u306eSQL\u306e\u983b\u51fa\u53e5\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<br>\u6b21\u306f\u4e00\u6b69\u9032\u3093\u3067\u3001GA4\u30c7\u30fc\u30bf\u3092\u5177\u4f53\u7684\u306a\u76ee\u7684\u3092\u6301\u3063\u3066\u5206\u6790\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u300cGA4\u30c7\u30fc\u30bf\u5206\u6790\u3092\u59cb\u3081\u308b\u300d\u3068\u984c\u3057\u3066\u3001\u4e0b\u8a18\u306e\u51683\u56de\u306e\u5185\u3001<br>\u7b2c3\u56de\u76ee\u306eGA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<br><strong>\u9023\u8f09\u4e00\u89a7<\/strong><br>\u7b2c1\u56de <a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1782\">GA4\u3068BigQuery\u3092\u9023\u643a\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u3068\u9023\u643a\u65b9\u6cd5\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01<\/a><br>\u7b2c2\u56de<a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1799\">\u3010\u5b9f\u4f8b\u3064\u304d\u3011GA4\u30c7\u30fc\u30bf\u3078\u306eSQL\u306e\u57fa\u672c\u306b\u3064\u3044\u3066<\/a><br><strong>\u7b2c3\u56de <a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1818\">GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u65b9\u6cd5\u3092\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u89e3\u8aac\uff01<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">LP\u6bce\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u306e\u62bd\u51fa<\/h2>\n\n\n\n<p>\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u306b\u304a\u3044\u3066\u3088\u304f\u5206\u6790\u3055\u308c\u308bLP\uff08\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\uff09\u6bce\u306e\u6307\u6a19\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002<br>\u4e0b\u8a18\u306eSQL\u306fGA4\u30c7\u30fc\u30bf\u304b\u3089\u3001LP\u6bce\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u3092\u62bd\u51fa\u3059\u308bSQL\u3067\u3059\u3002<\/p>\n\n\n\n<p><code>SELECT<br>landingPageLocation,<br>landingPageTitle,<br>COUNT(*) AS sessions<br>FROM (<br>SELECT<br>(SELECT value.string_value FROM UNNEST(event_params) AS params WHERE params.key = 'page_location') AS landingPageLocation,<br>(SELECT value.string_value FROM UNNEST(event_params) AS params WHERE params.key = 'page_title') AS landingPageTitle,<br>FROM<br>analytics_XXX.events_*<br>WHERE<br>_TABLE_SUFFIX BETWEEN '20240101'<br>AND '20240103'<br>AND event_name = 'session_start' )<br>GROUP BY<br>landingPageLocation,<br>landingPageTitle<\/code><\/p>\n\n\n\n<p>\u89e3\u8aac\uff1a<br>FROM\u53e5\u306e\u4e2d\u306f\u30b5\u30d6\u30af\u30a8\u30ea\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30b5\u30d6\u30af\u30a8\u30ea\u3068\u306fSQL\u306e\u4e2d\u306bSQL\u304c\u5b58\u5728\u3059\u308b\u5165\u308c\u5b50\u69cb\u9020\u3092\u6307\u3057\u307e\u3059\u3002<br>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306e\u30b5\u30d6\u30af\u30a8\u30ea\u306e\u4e2d\u3067\u306f\u3001event_name = &#8216;session_start&#8217;\u306e\u884c\u3092\u62bd\u51fa\u3057\u3066\u304a\u308a\u3001session_start\u30a4\u30d9\u30f3\u30c8\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u8d77\u70b9\u3092\u6307\u3059\u306e\u3067\u3001\u3053\u308c\u3067LP\u304c\u62bd\u51fa\u3067\u304d\u307e\u3059\u3002<br>\u6b21\u306bGROUP BY\u3067landingPageLocation, landingPageTitle\u6bce\u306b\u30c7\u30fc\u30bf\u884c\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u3092\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306bGA4\u30c7\u30fc\u30bf\u304b\u3089\u6307\u6a19\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u306e\u6570\uff08\u30c7\u30fc\u30bf\u884c\u6570\uff09\u3092\u30ab\u30a6\u30f3\u30c8\u3057\u3066\u51fa\u3059\u3053\u3068\u304c\u57fa\u672c\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">EC\u30b5\u30a4\u30c8\u306b\u304a\u3051\u308b\u5546\u54c1\u306e\u53ce\u76ca\u306e\u62bd\u51fa<\/h2>\n\n\n\n<p>EC\u30b5\u30a4\u30c8\u306e\u5834\u5408\u3001GA4\u30c7\u30fc\u30bf\u304b\u3089\u5546\u54c1\u306e\u53ce\u76ca\u306e\u30c7\u30fc\u30bf\u3082\u62bd\u51fa\u53ef\u80fd\u3067\u3059\u3002<br>\u4e0b\u8a18\u306eSQL\u306fGA4\u30c7\u30fc\u30bf\u304b\u3089\u3001\u5546\u54c1\u306e\u53ce\u76ca\u3084\u6570\u91cf\u3092\u62bd\u51fa\u3059\u308bSQL\u3067\u3059\u3002<\/p>\n\n\n\n<p><code>SELECT<br>CAST(CONCAT(LEFT(event_date,4),'-',RIGHT(LEFT(event_date,6),2),'-',RIGHT(event_date,2)) AS date) AS date<br>ecommerce.transaction_id,<br>item_category,<br>item_id,<br>item_name,<br>quantity,<br>item_revenue<br>FROM<br>analytics_XXX.events_*, UNNEST(items)<br>WHERE<br>_TABLE_SUFFIX BETWEEN '20240101'<br>AND '20240103'<br>AND event_name = 'purchase'<\/code><\/p>\n\n\n\n<p>\u89e3\u8aac\uff1a<br>FROM\u53e5\u3067<code>analytics_XXX.events_*<\/code>, UNNEST(items) \u3068\u66f8\u3044\u3066\u3044\u308b\u306e\u306f\u3001items\u304c\u914d\u5217\u69cb\u9020\u306e\u305f\u3081\u3067\u3059\u3002<br>event_params\u304ckey &#8211; value\u5f62\u5f0f\u306e\u914d\u5217\u306e\u305f\u3081\u3001SELECT\u53e5\u4e2d\u3067\u306eUNNEST\u304c\u53ef\u80fd\u306a\u3053\u3068\u306b\u5bfe\u3057\u3066\u3001items\u306e\u5834\u5408\u3053\u306e\u3088\u3046\u306bFROM\u53e5\u4e2d\u3067UNNEST\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>WHERE\u53e5\u3067event_name = &#8216;purchase&#8217;\u3068\u3059\u308b\u3053\u3068\u3067\u3001\u8cfc\u5165\u30a4\u30d9\u30f3\u30c8\u3092\u62bd\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u5ea6\u306e\u8cfc\u5165\u30a4\u30d9\u30f3\u30c8\u3067\u8907\u6570\u5546\u54c1\u304c\u8cfc\u5165\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u304b\u3089\u3001\u3053\u306e\u3088\u3046\u306bitems\u306fUNNEST\u304c\u5fc5\u9808\u306a\u9805\u76ee\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30b9\u30bf\u30de\u30fc\u30b8\u30e3\u30fc\u30cb\u30fc\u306e\u8ffd\u8de1<\/h2>\n\n\n\n<p>\u6b21\u306b\u500b\u3005\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30b5\u30a4\u30c8\u4e0a\u3067\u3069\u306e\u3088\u3046\u306a\u884c\u52d5\u3092\u3068\u3063\u3066\u3044\u308b\u304b\u3001\u5206\u6790\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>GA4\u30c7\u30fc\u30bf\u3067\u30e6\u30fc\u30b6\u30fc\u3092\u8b58\u5225\u3059\u308bID\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4ed8\u756a\u3055\u308c\u308buser_pseudo_id\u3068GA4\u30d7\u30ed\u30d1\u30c6\u30a3\u753b\u9762\u4e0a\u3067\u8a2d\u5b9a\u304c\u5fc5\u8981\u306auser_id\u306e\uff12\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>user_pseudo_id\uff1a\u30c7\u30d0\u30a4\u30b9\u3001\u30d6\u30e9\u30a6\u30b6\u6bce\u306b\u4e00\u610f\u306aID<br>user_id\uff1a\u30ed\u30b0\u30a4\u30f3\u6642\u306eID\u306a\u3069\u3092\u4ee3\u5165\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u6bce\u306b\u4e00\u610f\u306aID<\/p>\n\n\n\n<p>\u30af\u30ed\u30b9\u30c7\u30d0\u30a4\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u3084\u3001\u81ea\u793e\u3067\u7ba1\u7406\u3057\u3066\u3044\u308bID\u3067\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u8de1\u3057\u305f\u3044\u5834\u5408\u306fuser_id\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br>\u4e0b\u8a18\u306eSQL\u306fGA4\u30c7\u30fc\u30bf\u304b\u3089\u3001\u7279\u5b9a\u30e6\u30fc\u30b6\u30fc\u306e\u884c\u52d5\u3092\u62bd\u51fa\u3059\u308bSQL\u3067\u3059\u3002<\/p>\n\n\n\n<p><code>SELECT<br>CAST(CONCAT(LEFT(event_date,4),'-',RIGHT(LEFT(event_date,6),2),'-',RIGHT(event_date,2)) AS date) AS date,<br>event_timestamp,<br>event_name,<br>(SELECT value.string_value FROM UNNEST(event_params) AS params WHERE params.key = 'page_location') AS pageLocation,<br>(SELECT value.string_value FROM UNNEST(event_params) AS params WHERE params.key = 'page_title') AS pageTitle<br>FROM<br>analytics_XXX.events_*<br>WHERE<br>_TABLE_SUFFIX BETWEEN '20240101'<br>AND '20240103'<br>AND user_id = 'XXX'<br>ORDER BY<br>date ASC,<br>event_timestamp ASC<\/code><\/p>\n\n\n\n<p>\u89e3\u8aac\uff1a<br>WHERE\u53e5\u306euser_id = &#8216;XXX&#8217;\u3067\u3001\u62bd\u51fa\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br>ORDER BY\u53e5\u3067\u306fdate ASC, event_timestamp ASC\u3068\u3059\u308b\u3053\u3068\u3067\u3001\u65e5\u4ed8\u3001\u767a\u751f\u6642\u523b\u9806\u306b\u306a\u308b\u3088\u3046\u306b\u4e26\u3073\u66ff\u3048\u3066\u3044\u307e\u3059\u3002<br>\u3053\u306eSQL\u306b\u3088\u308a\u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>session_start\u3000\u3000\u3000\u3000\u30da\u30fc\u30b8A<br>page_view\u3000\u3000\u3000\u3000\u3000\u30da\u30fc\u30b8B<br>user_engagement\u3000 \u30da\u30fc\u30b8B<br>page_view\u3000\u3000\u3000\u3000\u3000\u30da\u30fc\u30b8C<br>purchase\u3000\u3000 \u3000\u3000\u3000\u30da\u30fc\u30b8C<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">JOIN\u53e5\u3067\u81ea\u793e\u30c7\u30fc\u30bf\u3068\u306e\u7d71\u5408<\/h2>\n\n\n\n<p>JOIN\u53e5\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001\u30c6\u30fc\u30d6\u30eb\u540c\u58eb\u306e\u7d50\u5408\u304c\u53ef\u80fd\u3067\u3059\u3002<br>\u4f8b\u3048\u3070\u4e0b\u8a18\u306eSQL\u3067\u306fGA4\u30c7\u30fc\u30bf\u304b\u3089\u62bd\u51fa\u3057\u305f\u30ab\u30b9\u30bf\u30de\u30fc\u30b8\u30e3\u30fc\u30cb\u30fc\u306b\u81ea\u793e\u306e\u4f1a\u54e1\u30de\u30b9\u30bf\u3092\u7d50\u5408\u3057\u3066\u3001\u4f1a\u54e1\u30de\u30b9\u30bf\u306e\u30c7\u30fc\u30bf\u3092\u7d71\u5408\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-2 wp-block-group-is-layout-flex\">\n<p><code>SELECT<br>ga4.<em>, user.<\/em> EXCEPT(user_id)<br>(<br>SELECT<br>CAST(CONCAT(LEFT(event_date,4),'-',RIGHT(LEFT(event_date,6),2),'-',RIGHT(event_date,2)) AS date) AS date,<br>event_timestamp,<br>event_name,<br>(SELECT value.string_value FROM UNNEST(event_params) AS params WHERE params.key = 'page_location') AS pageLocation,<br>(SELECT value.string_value FROM UNNEST(event_params) AS params WHERE params.key = 'page_title') AS pageTitle<br>FROM<br>analytics_XXX.events_*<br>WHERE<br>_TABLE_SUFFIX BETWEEN '20240101'<br>AND '20240103'<br>AND user_id = 'XXX'<br>ORDER BY<br>date ASC,<br>event_timestamp ASC<br>) as ga4<\/code><\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-1 wp-block-group-is-layout-flex\">\n<p><code>LEFT JOIN<br>(SELECT * FROM XXX.user_master) as user<br>ON<br>ga4.user_id = user.user_id<\/code><\/p>\n<\/div>\n<\/div>\n\n\n\n<p>\u89e3\u8aac\uff1a<br>JOIN\u306b\u306fINNER JOIN\uff08\u5185\u90e8\u7d50\u5408\uff09\u3068LEFT JOIN\uff08\u5de6\u5916\u90e8\u7d50\u5408\uff09\u304c\u3042\u308a\u3001INNER JOIN\u306f\u7d50\u5408\u30ad\u30fc\u304c\u4e00\u81f4\u3059\u308b\u30c7\u30fc\u30bf\u884c\u306e\u307f\u7d50\u679c\u306b\u6b8b\u3057\u307e\u3059\u3002LEFT JOIN\u306f\u7d50\u5408\u30ad\u30fc\u306e\u4e00\u81f4\u306b\u95a2\u308f\u3089\u305a\u3001\u5de6\u5074\u306e\u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30fc\u30bf\u884c\u306f\u5168\u3066\u6b8b\u3057\u307e\u3059\u3002<br>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306e\u5834\u5408\u306fLEFT JOIN\u306a\u306e\u3067\u3001GA4\u30c7\u30fc\u30bf\u306f\u5168\u3066\u6b8b\u3057\u3066\u3001\u4f1a\u54e1\u30de\u30b9\u30bf\u304b\u3089\u306f\u7d50\u5408\u30ad\u30fc\u304c\u4e00\u81f4\u3059\u308b\u30c7\u30fc\u30bf\u306e\u307f\u7d71\u5408\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5206\u6790\u7d50\u679c\u3092BI\u30c4\u30fc\u30eb\u3067\u53ef\u8996\u5316\u3059\u308b<\/h2>\n\n\n\n<p>SQL\u306e\u7d50\u679c\u3092\u30c6\u30fc\u30d6\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b\u3068\u3001BI\u30c4\u30fc\u30eb\u3067\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>Looker Studio\u3084Tableau\u306a\u3069\u6709\u540dBI\u30c4\u30fc\u30eb\u306f\u6a19\u6e96\u3067BigQuery\u306e\u30b3\u30cd\u30af\u30bf\u30fc\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u305f\u3081\u3001<br>BI\u30c4\u30fc\u30eb\u4e0a\u3067\u3001BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u9078\u629e\u3059\u308b\u3060\u3051\u3067BI\u30c4\u30fc\u30eb\u3068\u306e\u30c7\u30fc\u30bf\u9023\u643a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u5206\u6790\u7d50\u679c\u306e\u30b7\u30a7\u30a2\u3001\u793a\u5506\u306e\u62bd\u51fa\u3001\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3068\u3044\u3063\u305f\u30c7\u30fc\u30bf\u6d3b\u7528\u304c\u884c\u3048\u308b\u306e\u3067\u3001<br>BI\u30c4\u30fc\u30eb\u3068\u306e\u9023\u643a\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"613\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2024\/02\/GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u2460-1024x613.png\" alt=\"\" class=\"wp-image-1824\" srcset=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2024\/02\/GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u2460-1024x613.png 1024w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2024\/02\/GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u2460-300x180.png 300w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2024\/02\/GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u2460-768x460.png 768w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2024\/02\/GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u2460.png 1400w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>BI\u30c4\u30fc\u30eb\u3067\u306e\u53ef\u8996\u5316\u30a4\u30e1\u30fc\u30b8\u3000\u51fa\u5178\uff1a\u96fb\u7b97\u30b7\u30b9\u30c6\u30e0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u300cGA4\u30c7\u30fc\u30bf\u5206\u6790\u3092\u59cb\u3081\u308b\u300d\u306e\u7b2c3\u56de\u3068\u3057\u3066\u3001GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<br>\u57fa\u672c\u7684\u306aSQL\u3092\u5b66\u7fd2\u3059\u308c\u3070\u3001\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u76ee\u7684\u306b\u6cbf\u3063\u3066\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u7c21\u5358\u306b\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br>\u8907\u96d1\u306a\u5206\u6790\u3092\u884c\u3046\u306b\u306f\u3001\u66f4\u306b\u6570\u30b9\u30c6\u30c3\u30d7\u306e\u51e6\u7406\u304c\u5fc5\u8981\u306aSQL\u3092\u66f8\u3044\u305f\u308a\u3001Python\u306a\u3069\u306e\u30b3\u30fc\u30c9\u3067\u30c7\u30fc\u30bf\u30e2\u30c7\u30ea\u30f3\u30b0\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3060\u3051\u3067\u3082GA4\u30c7\u30fc\u30bf\u306e\u63a2\u7d22\u306b\u306f\u56f0\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u7b2c1\u301c\u7b2c3\u56de\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u3044\u305f\u3060\u304f\u3053\u3068\u3067\u3001GA4\u30c7\u30fc\u30bf\u306e\u5206\u6790\u30fb\u6d3b\u7528\u3092\u59cb\u3081\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u305f\u3089\u5e78\u3044\u3067\u3059\u3002<br><strong>\u9023\u8f09\u4e00\u89a7<\/strong><br>\u7b2c1\u56de <a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1782\">GA4\u3068BigQuery\u3092\u9023\u643a\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u3068\u9023\u643a\u65b9\u6cd5\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01<\/a><br>\u7b2c2\u56de<a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1799\">\u3010\u5b9f\u4f8b\u3064\u304d\u3011GA4\u30c7\u30fc\u30bf\u3078\u306eSQL\u306e\u57fa\u672c\u306b\u3064\u3044\u3066<\/a><br><strong>\u7b2c3\u56de <a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1818\">GA4\u30c7\u30fc\u30bf\u3092\u76ee\u7684\u5225\u306b\u5206\u6790\u3059\u308b\u65b9\u6cd5\u3092\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u89e3\u8aac\uff01<\/a><\/strong><\/p>\n\n\n\n<p>KUIX\u3067\u306f\u305f\u3060\u5c0e\u5165\u30fb\u958b\u767a\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u5c0e\u5165\u5f8c\u306e\u5229\u6d3b\u7528\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u306b\u7740\u773c\u3057\u305f\u3001\u30c7\u30fc\u30bf\u30ec\u30a4\u30af\u30fbDWH\u30fb\u30c7\u30fc\u30bf\u30de\u30fc\u30c8\u30fbBI\u30c4\u30fc\u30eb\u306e\u9078\u5b9a\u30fb\u5c0e\u5165\u304b\u3089\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3001\u904b\u7528\u3001\u5553\u8499\u30fb\u5c55\u958b\u307e\u3067\u30c8\u30fc\u30bf\u30eb\u306e\u30b3\u30f3\u30b5\u30eb\u30c6\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<br>\u300c\u30c7\u30fc\u30bf\u30de\u30fc\u30c8\/\u30c7\u30fc\u30bf\u30ec\u30a4\u30af\/DWH\/BI\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u305f\u3044\u300d<br>\u300c\u3059\u3067\u306b\u5c0e\u5165\u3057\u3066\u3044\u308b\u304c\u30c7\u30fc\u30bf\u6d3b\u7528\u3001\u5c55\u958b\u304c\u9032\u3093\u3067\u3044\u306a\u3044\u300d\u306a\u3069<br>\u304a\u56f0\u308a\u306e\u65b9\u306f\u3001\u305c\u3072\u304a\u6c17\u8efd\u306b\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\uff01\u304a\u554f\u3044\u5408\u308f\u305b\u306f<a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?page_id=6\" target=\"_blank\" rel=\"noreferrer noopener\">\u3053\u3061\u3089\u304b\u3089<\/a><\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2024\/02\/\u6771\u5c71\u4e2d\u592e\u9280\u884c-\u4eba\u4e8b\u62c5\u5f53\u526f\u793e-125-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1799\">\u3010\u5b9f\u4f8b\u3064\u304d\u3011GA4\u30c7\u30fc\u30bf\u3078\u306eSQL\u306e\u57fa\u672c\u306b\u3064\u3044\u3066<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">BigQuery Export\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066\u3001Google\u306eDWH\u3067\u3042\u308bBigQuery\u3078\u306e\u30c7\u30fc\u30bf\u306e\u9023\u643a\u3092\u884c\u3063\u305f\u5f8c\u3001\u76ee\u7684\u306b\u5fdc\u3058\u305f\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3057\u305f\u308a\u3001\u5206\u6790\u7528\u306e\u30c7\u30fc\u30bf\u30de\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u306fSQL&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2024\/02\/\u6771\u5c71\u4e2d\u592e\u9280\u884c-\u4eba\u4e8b\u62c5\u5f53\u526f\u793e-124-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=1782\">GA4\u3068BigQuery\u3092\u9023\u643a\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u3068\u9023\u643a\u65b9\u6cd5\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">2023\u5e747\u6708\u306bGoogle\u306e\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30c4\u30fc\u30eb\u3001Google Analytics\u306fUA\u304b\u3089GA4\u3078\u5b8c\u5168\u306b\u79fb\u884c\u3057\u307e\u3057\u305f\u3002GA4\u30c7\u30fc\u30bf\u306e\u5206\u6790\u306b\u3064\u3044\u3066\u3001\u8abf\u67fb\u3001\u5b9f\u8df5\u3092\u9032\u3081\u3089\u308c\u3066\u3044\u308b\u65b9\u306f\u591a\u3044\u306e\u3067\u306f\u306a\u3044&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<p class=\"has-text-align-center\"><a href=\"https:\/\/www.kuix.co.jp\/jorupa-for-enterprise\/?utm_source=DASYS&amp;utm_medium=DASYS&amp;utm_campaign=Kiji1818\" data-type=\"link\" data-id=\"https:\/\/www.kuix.co.jp\/jorupa-for-enterprise\/?utm_source=DASYS&amp;utm_medium=DASYS&amp;utm_campaign=Kiji1673\"><img decoding=\"async\" width=\"1024\" height=\"536\" class=\"wp-image-705\" style=\"width: 546px; height: 286px;\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-1024x536.png\" alt=\"\" srcset=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-1024x536.png 1024w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-300x157.png 300w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-768x402.png 768w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306e\u8a18\u4e8b\u3067SQL\u306e\u57fa\u672c\u3001UNNEST\u3084_TABLE_SUFFIX\u306a\u3069\u306eGA4\u30c7\u30fc\u30bf\u3078\u306eSQL\u306e\u983b\u51fa\u53e5\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\u6b21\u306f\u4e00\u6b69\u9032\u3093\u3067\u3001GA4\u30c7\u30fc\u30bf\u3092\u5177\u4f53\u7684\u306a\u76ee\u7684\u3092\u6301\u3063\u3066\u5206\u6790\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u300cGA4\u30c7\u30fc\u30bf\u5206\u6790\u3092 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":1823,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts\/1818"}],"collection":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1818"}],"version-history":[{"count":8,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts\/1818\/revisions"}],"predecessor-version":[{"id":1833,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts\/1818\/revisions\/1833"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/media\/1823"}],"wp:attachment":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}