google-analytics - 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-chrome - Google Chrome 硬件加速使 Mathjax 渲染的符号消失
- r - 计算每列频率表的平均值和中位数(每组的长度类别)
- amazon-s3 - 如何将 Apache Crunch 的输出写入 Amazon S3 存储桶
- jenkins - 詹金斯“从磁盘重新加载配置”不起作用
- azure-iot-hub - 在发送到 ServiceBus 队列之前将 SessionId 添加到 IoTHub 消息
- c# - C# Graphics.DrawImage() 尝试组合多个图像时抛出内存不足异常
- php - 如果我无法更改我的 PHP (PHP 5) 版本,如何避免“PHP 严格标准”
- github - Azure 数据工厂部署更改在与 git 存储库集成后未反映
- sql-server - 运行更新表的存储过程时,表上的选择查询挂起
- javascript - 如何使用 JavaScript 库使用椭圆曲线破译加密消息?