0
在使用该设计的宝石我的Rails应用程序,它重定向回拥有这个代码根:谷歌的Adwords不跟踪转换
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40000000-1', 'foo.com');
ga('send', 'pageview');
_gaq.push(['_trackPageview', '/home/articles/user_sign_up']);
</script>
在谷歌Analytics(分析)我有Destination
设置为:
Equals to /home/articles/user_sign_up
但是,它没有注册为转换。有人能帮我弄清楚我做错了什么吗?
的代码出现在是/home/articles
页面的URL,所以我的目的是为了尝试覆盖是谷歌认为该URL使用:
_gaq.push(['_trackPageview', '/home/articles/user_sign_up']);