【发布时间】:2014-05-22 06:31:50
【问题描述】:
您好,我需要帮助跟踪多个域上的 Google Analytics(分析)目标。这是场景:
step 1: website1.com
step 2: website2.com/register/register.php (with membership form)
step 3: website2.com/register/payment/signup.php (with Credit Card payment form)
成功网址:website2.com/register/success.php
我是这样设置的:
在网站 1:
_gaq.push(['_setAccount', 'UA-#######-##']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
* 我还在将用户发送到 website2.com 的链接上添加了 _link() 方法。
在网站 2(会员表格)上:
_gaq.push(['_setAccount', 'UA-#######-##']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview', '/register-user']);
_gaq.push(['_trackPageLoadTime']);
_gaq.push(['_setDomainName', location.hostname]);
我在 website2.com(支付页面)卡住了
我放了哪些代码以便跟踪目标。我还需要对会员表格使用 _linkByPost() 方法吗?请帮忙。
【问题讨论】:
标签: google-analytics