Google Analyticsの必須機能の一つが「コンバージョン設定」。ですが、コンバージョンタグを単純に完了画面に設置して終わりになっていませんか?
実は他にも色々やるべき事があるのです。
今回は特にコンバージョン率の改善を求められるECサイトに特化して、Google Analyticsのコンバージョン周りの設定とレポートの見方を6個ご紹介します。ECサイト以外の人でも真似できる内容なので、ぜひ参考に!
■もくじ
【1】e コマース設定とタグ設置
【2】目標設定
【3】ゴールフロー設定
【4】カスタムチャネル設定
【5】ECでよく使うカスタムレポートを適用
【6】主要レポートをショートカット登録
<script> ga('ecommerce:addTransaction', { id: '$オーダー/決済ID$', // Transaction ID - this is normally generated by your system. affiliation: '$ショップ名$', // Affiliation or store name revenue: '$オーダー金額総計$', // Grand Total shipping: '$送料$' , // Shipping cost tax: '$税金$' }); // Tax. ga('ecommerce:addItem', { id: '$オーダー/決済ID$', // Transaction ID. sku: '$商品ID$', // SKU/code. name: '$商品名$', // Product name. category: '$商品カテゴリーorブランド$', // Category or variation. price: '$商品単価$', // Unit price. quantity: '$個数$'}); // Quantity. ga('ecommerce:send'); </script>
<script type=”text/javascript”> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxxx-1']); _gaq.push(['_trackPageview']); _gaq.push(['_addTrans', '$オーダーID$', // order ID - required '$ショップ名$', // affiliation or store name '$オーダー金額総計$', // total - required '$税金$', // tax '$送料$', // shipping '$市区町村$', // city '$県$', // state or province '$日本$' // country ]); // add item might be called for every item in the shopping cart // where your ecommerce engine loops through each item in the cart and // prints out _addItem for each _gaq.push(['_addItem', '$オーダーID$', // order ID - required '$商品ID$', // SKU/code - required '$商品名$', // product name '$商品カテゴリーorブランド$', // category or variation '$商品単価$', // unit price - required '$個数$' // quantity - required ]); _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers (function() { var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’; var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s); })(); </script>