开发者

Google Website Optimizer: track AJAX

开发者 https://www.devze.com 2022-12-24 07:28 出处:网络
I am tracking AJAX goals in Google Analytics with no problems. But I would like to use Google Website Optimizer to see what buttons or headlines get the most leads in our 开发者_如何学编程newsletter s

I am tracking AJAX goals in Google Analytics with no problems. But I would like to use Google Website Optimizer to see what buttons or headlines get the most leads in our 开发者_如何学编程newsletter subscription form.

Since a new subscription only triggers AJAX/Javascript, I cannot add a separate success/thankyou.html page to track in Google Website Analyzer.

There is not much to find in Google's documentation about this. Has anyone been able to do this?


Yes Google Website Optimizer can be used with goal conversions as links or buttons. The technique to use is to wrap the conversion code in a Javascript function and then to call this function from any link onclick or onsubmit event.

http://www.google.com/support/websiteoptimizer/bin/answer.py?hl=en&answer=93181

0

精彩评论

暂无评论...
验证码 换一张
取 消