{"id":7319,"date":"2020-06-16T15:55:50","date_gmt":"2020-06-16T06:55:50","guid":{"rendered":"https:\/\/www.live-commerce.com\/support\/?post_type=ht_kb&#038;p=7319"},"modified":"2023-06-29T10:30:51","modified_gmt":"2023-06-29T01:30:51","slug":"google-analytics","status":"publish","type":"ht_kb","link":"https:\/\/www.live-commerce.com\/support\/articles\/google-analytics","title":{"rendered":"Google Analytics\u306e\u8a2d\u5b9a"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2016\/08\/triangle.png\" alt=\"triangle\" width=\"32\" height=\"32\" \/>\u3053\u306e\u30da\u30fc\u30b8\u3067\u8aac\u660e\u3057\u3066\u3044\u308bGoogle Analytics\u306e\u5f93\u6765\u7248(\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9)\u306f<span style=\"color: #ff0000;\">2023\u5e747\u67081\u65e5\u4ee5\u964d\u306e\u30c7\u30fc\u30bf\u304c\u8a08\u6e2c\u3055\u308c\u307e\u305b\u3093<\/span>\u3002\u4eca\u5f8c\u306e\u8a08\u6e2c\u306b\u306f<a href=\"https:\/\/www.live-commerce.com\/support\/articles\/ga4\">Google Analytics4 (GA4)<\/a>\u3092\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Google Analytics\u306f\u3001\u7121\u6599\u3067\u4f7f\u3048\u308bWeb\u30da\u30fc\u30b8\u306e\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<br \/>\nLive Commerce\u3067\u30b5\u30a4\u30c8\u3092\u5236\u4f5c\u3057\u305f\u3089\u3001Google Analytics\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u306e\u65b9\u6cd5\u306b\u306f\u4ee5\u4e0b\u306e\uff12\u3064\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3069\u3061\u3089\u304b\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>A: \u30b5\u30a4\u30c8\u306b\u76f4\u63a5\u30bf\u30b0\u3092\u8a2d\u7f6e\u3059\u308b<\/strong><br \/>\nPHP\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u76f4\u63a5\u30bf\u30b0\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002Analytics\u4ee5\u5916\u306b\u5229\u7528\u3059\u308b\u4e88\u5b9a\u304c\u306a\u304f\u3001\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u5c0e\u5165\u306e\u624b\u9593\u3092\u304b\u3051\u305f\u304f\u306a\u3044\u5834\u5408\u3084\u3001\u540c\u671f\u51e6\u7406\u304c\u5fc5\u8981\u306a\u3069\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u30bf\u30b0\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u306e\u65b9\u6cd5\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p><strong>B: \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u5229\u7528\u3059\u308b<\/strong><br \/>\n\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306fGoogle\u304c\u63d0\u4f9b\u3059\u308b\u7121\u6599\u30c4\u30fc\u30eb\u3067\u3001HTML\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u7ba1\u7406\u753b\u9762\u3067\u30bf\u30b0\u3092\u4e00\u5143\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u304c\u3067\u304d\u305f\u308a\u3001Web\u30da\u30fc\u30b8\u306e\u8aad\u307f\u8fbc\u307f\u901f\u5ea6\u304c\u65e9\u3044\u306a\u3069\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u3010\u5171\u901a\u3011 Google Analytics\u306e\u57fa\u672c\u8a2d\u5b9a<\/h2>\n<p>&nbsp;<\/p>\n<p>Google Analytics\u3092\u521d\u3081\u3066\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u3001<a href=\"https:\/\/marketingplatform.google.com\/about\/analytics\/\">\u7533\u3057\u8fbc\u307f\u30da\u30fc\u30b8<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30ab\u30a6\u30f3\u30c8\u3068\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u65b0\u898f\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7330\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t1-e1592362757245.png\" alt=\"\" width=\"600\" height=\"143\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30fb\u6e2c\u5b9a\u306e\u5bfe\u8c61\u306f\u300c\u30a6\u30a7\u30d6\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306eURL\u3092\u5165\u529b\u3057\u3001\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306a\u3069\u3092\u9078\u629e\u3057\u3066[\u4f5c\u6210]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d3\u30e5\u30fc\u5217\u306b\u3042\u308b\u300ce\u30b3\u30de\u30fc\u30b9\u306e\u8a2d\u5b9a\u300d \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7333\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t2.png\" alt=\"\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t2.png 600w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t2-150x100.png 150w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t2-200x133.png 200w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t2-50x33.png 50w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t2-320x213.png 320w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u300ce\u30b3\u30de\u30fc\u30b9\u306e\u6709\u52b9\u5316\u300d\u3092\u30aa\u30f3\u306b\u3057\u307e\u3059\u3002\u300c\u62e1\u5f35e\u30b3\u30de\u30fc\u30b9\u306e\u30ec\u30dd\u30fc\u30c8\u3092\u6709\u52b9\u5316\u300d\u306f\u30aa\u30d5\u306b\u3057\u3001[\u4fdd\u5b58]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7334\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t3.png\" alt=\"\" width=\"400\" height=\"212\" srcset=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t3.png 400w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t3-150x80.png 150w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t3-200x106.png 200w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t3-50x27.png 50w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t3-320x170.png 320w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30d3\u30e5\u30fc\u5217\u306b\u3042\u308b\u300c\u30d3\u30e5\u30fc\u306e\u8a2d\u5b9a\u300d \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u300c\u901a\u8ca8\u300d\u3067\u30ec\u30dd\u30fc\u30c8\u306b\u8868\u793a\u3059\u308b\u901a\u8ca8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/support.google.com\/analytics\/answer\/1008015?hl=ja\">Google\u306e\u30de\u30cb\u30e5\u30a2\u30eb<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u3010A\u3011 \u30b5\u30a4\u30c8\u306b\u76f4\u63a5\u30bf\u30b0\u3092\u8a2d\u7f6e<\/h2>\n<p>Google\u5e83\u544a\u3084facebook\u5e83\u544a\u3001\u305d\u306e\u4ed6\u306e\u5916\u90e8\u30c4\u30fc\u30eb\u306a\u3069\u3092\u5229\u7528\u3059\u308b\u4e88\u5b9a\u304c\u306a\u304f\u3001Analytics\u306e\u307f\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u30b5\u30a4\u30c8\u306b\u76f4\u63a5\u30bf\u30b0\u3092\u8a2d\u7f6e\u3059\u308b\u3053\u3068\u3067\u7c21\u5358\u306b\u30b9\u30bf\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4e8b\u524d\u306b\u3001\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>Google Analytics\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u5217\u306b\u3042\u308b\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u8a2d\u5b9a\u300d \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\nUA-\u3067\u59cb\u307e\u308b\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0ID\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7477\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t19.png\" alt=\"\" width=\"400\" height=\"140\" srcset=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t19.png 400w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t19-150x53.png 150w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t19-200x70.png 200w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t19-50x18.png 50w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t19-320x112.png 320w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>Live Commerce\u306e\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u306e\u30b5\u30a4\u30c8\u8a2d\u5b9a &gt; \u30b5\u30a4\u30c8\u8a2d\u5b9a &gt; Google Analytics &amp; Tracking\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\nGooogle Analytics\u6b04\u306b\u3001\u30b3\u30d4\u30fc\u3057\u305f\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0ID\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7480\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t20-e1594794013736.png\" alt=\"\" width=\"600\" height=\"239\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n[\u9001\u4fe1\u3059\u308b]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30b5\u30a4\u30c8\u306b\u30bf\u30b0\u3092\u8a2d\u7f6e<\/h3>\n<p>Google Analytics\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u5217\u306b\u3042\u308b\u300c\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u60c5\u5831 &gt; \u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u30b3\u30fc\u30c9\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7482\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t21-e1594794663527.png\" alt=\"\" width=\"700\" height=\"396\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>Live Commerce\u306e\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u30b5\u30a4\u30c8\u8a2d\u5b9a &gt; \u30c6\u30fc\u30de\u7ba1\u7406 &gt; \u30aa\u30f3\u30e9\u30a4\u30f3\u306e\u30c6\u30fc\u30de \u306e[\u30c6\u30fc\u30de\u7de8\u96c6]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u30c6\u30fc\u30de\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u5229\u7528\u3059\u308b\u30c6\u30fc\u30de\u3092\u30ea\u30b9\u30c8\u304b\u3089\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7338\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6.png\" alt=\"\" width=\"400\" height=\"100\" srcset=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6.png 400w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-150x38.png 150w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-200x50.png 200w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-50x13.png 50w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-320x80.png 320w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>header.php\u3092\u958b\u304d\u3001\u30bf\u30b0\u306e\u76f4\u5f8c\u306b\u30b3\u30d4\u30fc\u3057\u305f\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">&lt;head&gt;\r\n    \r\n&lt;!-- Global site tag (gtag.js) - Google Analytics --&gt;\r\n&lt;script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=UA-xxxxxxxx-xx\"&gt;&lt;\/script&gt;\r\n&lt;script&gt;\r\n  window.dataLayer = window.dataLayer || [];\r\n  function gtag(){dataLayer.push(arguments);}\r\n  gtag('js', new Date());\r\n\r\n  gtag('config', 'UA-xxxxxxxx-xx');\r\n&lt;\/script&gt;<\/pre>\n<p>header_checkout.php\u306b\u3082\u540c\u69d8\u306b\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>PC\u3068\u30b9\u30de\u30db\u3067\u5225\u306e\u30c6\u30fc\u30de\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4e21\u65b9\u306e\u30c6\u30fc\u30de\u306eheader.php, header_checkout.php\u306b\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u3092\u8a08\u6e2c<\/h3>\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb \u30b5\u30a4\u30c8\u30bf\u30b0\uff08gtag.js\uff09\u306e\u5834\u5408\u306f\u3001\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u306f\u81ea\u52d5\u3067\u8a08\u6e2c\u3055\u308c\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30b6\u30a4\u30f3\u30c6\u30fc\u30de\u306b\u3088\u3063\u3066\u306f\u3001footer.php\u304a\u3088\u3073footer-checkout.php\u306b\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u8a08\u6e2c\u7528\u30b3\u30fc\u30c9\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3061\u3089\u306f\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u307e\u305f\u306f\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"lang:php decode:true \">&lt;? php echo c::googleAna(); ?&gt;<\/pre>\n<h3>e\u30b3\u30de\u30fc\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u3092\u8a08\u6e2c<\/h3>\n<p>checkout-success.php\u306e\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u3001e\u30b3\u30de\u30fc\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u7528\u306e\u30c7\u30fc\u30bf\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">echo c::gaEcommerce($this-&gt;orderId);<\/pre>\n<p>\u30c7\u30b6\u30a4\u30f3\u30c6\u30fc\u30de\u306b\u3088\u3063\u3066\u306f\u3001checkout-success.php\u306b\u4ee5\u4e0b\u306e\u53e4\u3044\u30b3\u30fc\u30c9\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3061\u3089\u306f\u524a\u9664\u3057\u3001\u65b0\u3057\u3044\u30b3\u30fc\u30c9\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"lang:php decode:true \">echo c::googleEcommerce($this-&gt;orderId);\r\n\u2193\u4ee5\u4e0b\u306b\u5909\u66f4\u3057\u307e\u3059\r\necho c::gaEcommerce($this-&gt;orderId);<\/pre>\n<p>Google Analytics\u3067\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n\u300c\u30b3\u30f3\u30d0\u30fc\u30b8\u30e7\u30f3 &gt; e\u30b3\u30de\u30fc\u30b9 &gt; \u5546\u54c1\u306e\u8ca9\u58f2\u72b6\u6cc1\u300d \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30d7\u30e9\u30a4\u30de\u30ea \u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u3092\u5207\u308a\u66ff\u3048\u3066\u3001\u5546\u54c1\u30fb\u5546\u54c1\u306eSKU\u30fb\u5546\u54c1\u30ab\u30c6\u30b4\u30ea\u30fb\u5546\u54c1\u30d6\u30e9\u30f3\u30c9\u3054\u3068\u306e\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7495\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/07\/ga-t22-e1594797998878.png\" alt=\"\" width=\"700\" height=\"394\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u5546\u54c1\u30ab\u30c6\u30b4\u30ea\u30bf\u30d6\u306b\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u5de6\u4e0b\u306e\u7ba1\u7406\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d3\u30e5\u30fc\u5217\u306b\u3042\u308b\u300ce\u30b3\u30de\u30fc\u30b9\u306e\u8a2d\u5b9a\u300d \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u300ce\u30b3\u30de\u30fc\u30b9\u306e\u6709\u52b9\u5316\u300d\u3068\u300c\u62e1\u5f35e\u30b3\u30de\u30fc\u30b9\u306e\u30ec\u30dd\u30fc\u30c8\u3092\u6709\u52b9\u5316\u300d\u3092\u3069\u3061\u3089\u3082\u30aa\u30f3\u306b\u3057\u3001[\u4fdd\u5b58]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u3010B\u3011 \u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u5229\u7528<\/h2>\n<p>&nbsp;<\/p>\n<h3>\u30b5\u30a4\u30c8\u306b\u30bf\u30b0\u3092\u8a2d\u7f6e<\/h3>\n<p>\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u521d\u3081\u3066\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u3001<a href=\"https:\/\/tagmanager.google.com\/?hl=ja#\/admin\/accounts\/create\">\u7533\u3057\u8fbc\u307f\u30da\u30fc\u30b8<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/support.google.com\/tagmanager\/answer\/6103696?hl=ja&amp;ref_topic=3441530\">\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30de\u30cb\u30e5\u30a2\u30eb<\/a>\u3092\u53c2\u8003\u306b\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u3068\u30b3\u30f3\u30c6\u30ca\u3092\u65b0\u898f\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30a2\u30ab\u30a6\u30f3\u30c8\u540d\uff08\u901a\u5e38\u306f\u793e\u540d)\u3092\u5165\u529b\u3057\u3001\u56fd\u3067[\u65e5\u672c]\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30b3\u30f3\u30c6\u30ca\u540d(\u901a\u5e38\u306f\u30b5\u30a4\u30c8URL)\u3092\u5165\u529b\u3057\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u300c\u30a6\u30a7\u30d6\u300d\u3092\u9078\u629e\u3057\u3001[\u4f5c\u6210]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u8868\u793a\u3055\u308c\u308b2\u3064\u306e\u30bf\u30b0\u3092\u305d\u308c\u305e\u308c\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7336\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t4-e1592370977493.png\" alt=\"\" width=\"600\" height=\"419\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30bf\u30b0\u306f\u3001\u7ba1\u7406\u753b\u9762\u306e\u30ef\u30fc\u30af\u30d7\u30ec\u30fc\u30b9\u4e0a\u90e8\u306b\u3042\u308b\u30b3\u30f3\u30c6\u30caID\uff08GTM-XXXXXX\uff09\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7337\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t5-e1592371021927.png\" alt=\"\" width=\"600\" height=\"96\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>Live Commerce\u306e\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u30b5\u30a4\u30c8\u8a2d\u5b9a &gt; \u30c6\u30fc\u30de\u7ba1\u7406 &gt; \u30aa\u30f3\u30e9\u30a4\u30f3\u306e\u30c6\u30fc\u30de \u306e[\u30c6\u30fc\u30de\u7de8\u96c6]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u30c6\u30fc\u30de\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u5229\u7528\u3059\u308b\u30c6\u30fc\u30de\u3092\u30ea\u30b9\u30c8\u304b\u3089\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7338\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6.png\" alt=\"\" width=\"400\" height=\"100\" srcset=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6.png 400w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-150x38.png 150w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-200x50.png 200w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-50x13.png 50w, https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t6-320x80.png 320w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>header.php\u3092\u958b\u304d\u3001\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>1\u3064\u3081\u306e\u30bf\u30b0\u306f&lt;\/head&gt;\u3088\u308a\u4e0a\u30012\u3064\u3081\u306e\u30bf\u30b0\u306f&lt;body&gt;\u30bf\u30b0\u306e\u4e0b\u306b\u5165\u308c\u307e\u3059\u3002<br \/>\n\u30bf\u30b0\u4e2d\u306b\u3042\u308b&#8217;GTM-xxxxxxx&#8217;\u306e\u90e8\u5206\u306f\u30b5\u30a4\u30c8\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true \">&lt;!-- Google Tag Manager --&gt;\r\n&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\r\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\r\nj=d.createElement(s),dl=l!='dataLayer'?'&amp;l='+l:'';j.async=true;j.src=\r\n'https:\/\/www.googletagmanager.com\/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\r\n})(window,document,'script','dataLayer','GTM-xxxxxxx');&lt;\/script&gt;\r\n&lt;!-- End Google Tag Manager --&gt;\r\n\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    \r\n&lt;!-- Google Tag Manager (noscript) --&gt;\r\n&lt;noscript&gt;&lt;iframe src=\"https:\/\/www.googletagmanager.com\/ns.html?id=GTM-xxxxxxx\"\r\nheight=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"&gt;&lt;\/iframe&gt;&lt;\/noscript&gt;\r\n&lt;!-- End Google Tag Manager (noscript) --&gt;<\/pre>\n<p>header_checkout.php\u306b\u3082\u540c\u69d8\u306b\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>PC\u3068\u30b9\u30de\u30db\u3067\u5225\u306e\u30c6\u30fc\u30de\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4e21\u65b9\u306e\u30c6\u30fc\u30de\u306eheader.php, header_checkout.php\u306b\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u306a\u304a\u3001\u3053\u306e\u4ed6\u306bLive Commerce\u304b\u3089\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3078\u5024\u3092\u6e21\u3059\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u8a2d\u5b9a\u3092\u3054\u5e0c\u671b\u306e\u5834\u5408\u306f\u3001<a href=\"http:\/\/www.live-commerce.com\/contact.html\">\u30e1\u30fc\u30eb\u306b\u3066\u304a\u554f\u3044\u5408\u308f\u305b<\/a>\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u3092\u8a08\u6e2c<\/h3>\n<p>\u30c6\u30fc\u30de\u306efooter.php\u3001footer-checkout.php\u3067\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u8a08\u6e2c\u7528\u30b3\u30fc\u30c9\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u307e\u305f\u306f\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"lang:php decode:true\">\u3000&lt;?php echo c::googleAna();?&gt;<\/pre>\n<p>\u6b21\u306b\u3001\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p><strong>1) \u30c8\u30e9\u30c3\u30ad\u30f3\u30b0ID\u3092\u5b9a\u7fa9\u3059\u308b\u5909\u6570\u3092\u4f5c\u6210<\/strong><\/p>\n<p>\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u3067\u5909\u6570\u3092\u9078\u629e\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u5909\u6570\u306e[\u65b0\u898f]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u5909\u6570\u306e\u8a2d\u5b9a\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30b9\u30c8\u304b\u3089\u300c\u5b9a\u6570\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7343\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t7-e1592374964374.png\" alt=\"\" width=\"600\" height=\"434\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u5909\u6570\u540d\u306b\u300ctracking id\u300d\u3092\u5165\u529b\u3057\u3001\u5024\u306bAnalytics\u306e\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0ID\u3092\u5165\u529b\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7344\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t8-e1592375063615.png\" alt=\"\" width=\"600\" height=\"313\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0ID\u306fAnalytics\u306e\u7ba1\u7406\u753b\u9762\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u7ba1\u7406 &gt; \u30d7\u30ed\u30d1\u30c6\u30a3\u8a2d\u5b9a &gt; \u30c8\u30e9\u30c3\u30ad\u30f3\u30b0ID \u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7345\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t9-e1592375090698.png\" alt=\"\" width=\"600\" height=\"490\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p><strong>2) Google\u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u8a2d\u5b9a\u5909\u6570\u3092\u4f5c\u6210<\/strong><\/p>\n<p>\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u3067\u5909\u6570\u3092\u9078\u629e\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u5909\u6570\u306e[\u65b0\u898f]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u5909\u6570\u306e\u8a2d\u5b9a\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cGoogle \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u8a2d\u5b9a\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0ID\u306e\u5024\u3068\u3057\u3066\u30011)\u3067\u5b9a\u7fa9\u3057\u305f\u5909\u6570(tracking id)\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u5909\u6570\u540d\u306b\u300cuniversal analytics settings &#8211; pageview\u300d \u3068\u5165\u529b\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7347\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t10-e1592375958443.png\" alt=\"\" width=\"600\" height=\"341\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p><strong>3) \u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u8a08\u6e2c\u7528\u306e\u30bf\u30b0\u3092\u4f5c\u6210<\/strong><\/p>\n<p>\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u3067\u30bf\u30b0\u3092\u9078\u629e\u3057\u3001[\u65b0\u898f]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30bf\u30b0\u306e\u8a2d\u5b9a\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30b9\u30c8\u304b\u3089\u300cGoogle \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\uff1a \u30e6\u30cb\u30d0\u30fc\u30b5\u30eb \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u30bf\u30a4\u30d7\u306f\u300c\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fbGoogle \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u8a2d\u5b9a\u306f2)\u3067\u5b9a\u7fa9\u3057\u305f\u5909\u6570(universal analytics settings &#8211; pageview)\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30bf\u30b0\u540d\u306b\u300cUniversal Analytics Pageview\u300d \u3068\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c8\u30ea\u30ac\u30fc\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30b9\u30c8\u304b\u3089\u300cAll Pages\u300d\u3092\u9078\u629e\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7352\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-11-e1592377299105.png\" alt=\"\" width=\"600\" height=\"471\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p><strong>4) \u30d7\u30ec\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9\u3067\u30bf\u30b0\u3092\u691c\u8a3c<\/strong><\/p>\n<p>\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u3001\u30bf\u30b0\u304c\u6b63\u3057\u304f\u8a2d\u7f6e\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u53f3\u5074\u306b\u3042\u308b[\u30d7\u30ec\u30d3\u30e5\u30fc]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30aa\u30ec\u30f3\u30b8\u8272\u306e\u30d0\u30ca\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001\u30d7\u30ec\u30d3\u30e5\u30fc\u6a5f\u80fd\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7366\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t12-e1592379172708.png\" alt=\"\" width=\"600\" height=\"184\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u958b\u3044\u3066\u3044\u308b\u306e\u3068\u540c\u3058\u30d6\u30e9\u30a6\u30b6\u306e\u5225\u30bf\u30d6\u3067\u3001\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<br \/>\n\u30da\u30fc\u30b8\u4e0b\u90e8\u306e\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u3001\u767a\u706b\u30bf\u30b0(Tags Fired)\u306e\u30a8\u30ea\u30a2\u306b\u8a2d\u5b9a\u3057\u305f\u30bf\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7367\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t13-e1592379217795.png\" alt=\"\" width=\"400\" height=\"153\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u3001\u30aa\u30ec\u30f3\u30b8\u8272\u306e\u30d0\u30ca\u30fc\u4e0b\u90e8\u306e\u300c\u30d7\u30ec\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9\u306e\u7d42\u4e86\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><strong>5) \u30bf\u30b0\u3092\u516c\u958b<\/strong><\/p>\n<p>\u30bf\u30b0\u304c\u6b63\u3057\u304f\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001\u516c\u958b\u3057\u307e\u3059\u3002<br \/>\n\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u53f3\u5074\u306e[\u516c\u958b]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u540d\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u8aac\u660e\u3092\u5165\u529b\u3057\u3066\u3001[\u516c\u958b]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<h3>e\u30b3\u30de\u30fc\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u3092\u8a08\u6e2c<\/h3>\n<p>e\u30b3\u30de\u30fc\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u5546\u54c1\u306e\u58f2\u308c\u884c\u304d\u3084\u30e6\u30fc\u30b6\u30fc\u304c\u30b5\u30a4\u30c8\u8a2a\u554f\u304b\u3089\u8cfc\u5165\u306b\u81f3\u308b\u307e\u3067\u306b\u304b\u304b\u3063\u305f\u65e5\u6570\u306a\u3069\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30fc\u30de\u306echeckout-success.php\u3067\u4ee5\u4e0b\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u307e\u305f\u306f\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"lang:php decode:true \">c::googleEcommerce($this-&gt;orderId);\r\n\u307e\u305f\u306f\r\nc::gaEcommerce($this-&gt;orderId);<\/pre>\n<p>\u6b21\u306b\u3001\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<p><strong>1) \u30c7\u30fc\u30bf\u30ec\u30a4\u30e4\u30fc\u5909\u6570\u3092\u4f5c\u6210<\/strong><\/p>\n<p>\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u3067\u5909\u6570\u3092\u9078\u629e\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u5909\u6570\u306e[\u65b0\u898f]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u5909\u6570\u306e\u8a2d\u5b9a\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u30c7\u30fc\u30bf\u30ec\u30a4\u30e4\u30fc\u306e\u5909\u6570\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30c7\u30fc\u30bf\u30ec\u30a4\u30e4\u30fc\u306e\u5909\u6570\u540d\u306b\u3001\u300ccurrencyCode\u300d\u3068\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30c7\u30fc\u30bf\u30ec\u30a4\u30e4\u30fc\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u5024(\u30d0\u30fc\u30b8\u30e7\u30f32)\u306e\u307e\u307e\u306b\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u5909\u6570\u540d\u306b\u300cga-currencyCode\u300d \u3068\u5165\u529b\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7373\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t14-e1592381990908.png\" alt=\"\" width=\"400\" height=\"243\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p><strong>2) \u30c8\u30ea\u30ac\u30fc\u3092\u4f5c\u6210<\/strong><\/p>\n<p>\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u3067\u30c8\u30ea\u30ac\u30fc\u3092\u9078\u629e\u3057\u3001[\u65b0\u898f]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30c8\u30ea\u30ac\u30fc\u306e\u8a2d\u5b9a\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30c8\u30ea\u30ac\u30fc\u306e\u30bf\u30a4\u30d7\u3067\u300c\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u3053\u306e\u30c8\u30ea\u30ac\u30fc\u306e\u767a\u751f\u5834\u6240\u306b\u300c\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u300cPage URL\u300d\u3001\u300c\u542b\u3080\u300d\u3092\u9078\u629e\u3057\u3001\u300c\/checkout\/success\u300d\u3068\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30c8\u30ea\u30ac\u30fc\u540d\u306b\u300c\u8cfc\u5165\u5b8c\u4e86\u753b\u9762\u300d\u3068\u5165\u529b\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7374\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t15-e1592382526387.png\" alt=\"\" width=\"600\" height=\"323\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p><strong>3) \u30bf\u30b0\u3092\u4f5c\u6210<\/strong><\/p>\n<p>\u5de6\u5074\u306e\u30e1\u30cb\u30e5\u30fc\u3067\u30bf\u30b0\u3092\u9078\u629e\u3057\u3001[\u65b0\u898f]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30bf\u30b0\u306e\u8a2d\u5b9a\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30b9\u30c8\u304b\u3089\u300cGoogle \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\uff1a \u30e6\u30cb\u30d0\u30fc\u30b5\u30eb \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u30bf\u30a4\u30d7\u306f\u300c\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fbGoogle \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9\u8a2d\u5b9a\u306f\u3001\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u306e\u6e2c\u5b9a\u3067\u5b9a\u7fa9\u6e08\u307f\u306e\u5909\u6570(universal analytics settings &#8211; pageview)\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u30bf\u30b0\u540d\u306b\u300cAnalytics e\u30b3\u30de\u30fc\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u300d \u3068\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u300c\u3053\u306e\u30bf\u30b0\u3067\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u8a2d\u5b9a\u3092\u6709\u52b9\u306b\u3059\u308b\u300d\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u8a73\u7d30\u8a2d\u5b9a &gt; \u8a2d\u5b9a\u3059\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u958b\u304d\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u306b\u300ccurrencyCode\u300d\u3068\u5165\u529b\u3057\u307e\u3059\u3002\u5024\u306f1)\u3067\u767b\u9332\u3057\u305f\u300cga-currencyCode\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7376\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t16-e1592383180719.png\" alt=\"\" width=\"600\" height=\"478\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30c8\u30ea\u30ac\u30fc\u753b\u9762\u306e\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30b9\u30c8\u304b\u3089\u300c\u8cfc\u5165\u5b8c\u4e86\u753b\u9762\u300d\u3092\u9078\u629e\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p><strong>4) \u30d7\u30ec\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9\u3067\u30bf\u30b0\u3092\u691c\u8a3c<\/strong><\/p>\n<p>\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u3001\u30bf\u30b0\u304c\u6b63\u3057\u304f\u8a2d\u7f6e\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u53f3\u5074\u306b\u3042\u308b[\u30d7\u30ec\u30d3\u30e5\u30fc]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u958b\u3044\u3066\u3044\u308b\u306e\u3068\u540c\u3058\u30d6\u30e9\u30a6\u30b6\u306e\u5225\u30bf\u30d6\u3067\u3001\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<br \/>\n\u30da\u30fc\u30b8\u4e0b\u90e8\u306e\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u3001\u767a\u706b\u3057\u3066\u3044\u306a\u3044\u30bf\u30b0(Tags Not Fired)\u306e\u30a8\u30ea\u30a2\u306b<br \/>\n\u300cAnalytics e\u30b3\u30de\u30fc\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u300d\u30bf\u30b0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7378\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t17-e1592446600980.png\" alt=\"\" width=\"400\" height=\"252\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30b5\u30a4\u30c8\u3067\u5546\u54c1\u3092\u8cfc\u5165\u3057\u307e\u3059\u3002<br \/>\n[\u6ce8\u6587]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u308bThank You\u30da\u30fc\u30b8\u3067\u3001\u30bf\u30b0\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u767a\u706b\u30bf\u30b0(Tags Fired)\u306e\u30a8\u30ea\u30a2\u306b\u300cAnalytics e\u30b3\u30de\u30fc\u30b9\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u300d\u30bf\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\nData Layer\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u5024\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7379\" src=\"https:\/\/www.live-commerce.com\/support\/wp-content\/uploads\/2020\/06\/ga-t18-e1592446751513.png\" alt=\"\" width=\"400\" height=\"359\" \/><\/p>\n<div style=\"clear: both;\"><\/div>\n<p>\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u3001\u30aa\u30ec\u30f3\u30b8\u8272\u306e\u30d0\u30ca\u30fc\u4e0b\u90e8\u306e\u300c\u30d7\u30ec\u30d3\u30e5\u30fc\u30e2\u30fc\u30c9\u306e\u7d42\u4e86\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><strong>5) \u30bf\u30b0\u3092\u516c\u958b<\/strong><\/p>\n<p>\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u53f3\u5074\u306e[\u516c\u958b]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u540d\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u8aac\u660e\u3092\u5165\u529b\u3057\u3066\u3001[\u516c\u958b]\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u8aac\u660e\u3057\u3066\u3044\u308bGoogle Analytics\u306e\u5f93\u6765\u7248(\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb \u30a2\u30ca\u30ea\u30c6\u30a3\u30af\u30b9)\u306f2023\u5e747\u67081\u65e5\u4ee5\u964d\u306e\u30c7\u30fc\u30bf\u304c\u8a08\u6e2c\u3055\u308c\u307e\u305b\u3093\u3002\u4eca\u5f8c\u306e\u8a08\u6e2c\u306b\u306fGoogle Analytics4 (GA4)\u3092\u3054\u5229\u7528\u304f\u3060\u3055 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"menu_order":0,"template":"","meta":{"footnotes":""},"ht_kb_category":[],"ht_kb_tag":[],"class_list":["post-7319","ht_kb","type-ht_kb","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/ht_kb\/7319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":54,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/ht_kb\/7319\/revisions"}],"predecessor-version":[{"id":8167,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/ht_kb\/7319\/revisions\/8167"}],"wp:attachment":[{"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/media?parent=7319"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/ht_kb_category?post=7319"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.live-commerce.com\/support\/wp-json\/wp\/v2\/ht_kb_tag?post=7319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}