首页 > 解决方案 > Google Analytics - 电子商务门户 - 跟踪订单流

问题描述

我正在开发一个电子商务门户网站并使用谷歌分析跟踪我的门户网站,可以看到如下统计数据,

Page Views
Unique Page Views
Location etc

可以从以下任何页面将产品添加到购物车/购物篮,

Shopping Template
Quick Order form
Upload Order file 
Normal Product Catalog page (Product listing page)

我想跟踪上面提到的哪个页面,产品被添加到购物车并最终下订单,我该如何实现?

分析脚本

<script type="text/javascript">
            /* Google Analytics */

            var googleAnalyticsTrackingId = 'UA-xxxxx-x';
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', googleAnalyticsTrackingId]);
            var dimensionValue = '1234';
            _gaq.push('set', 'dimension2', dimensionValue);

                    _gaq.push(['_trackPageview']);


            (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>

标签: google-analytics

解决方案


推荐阅读