Google Analytics未注册点击次数 [英] Google Analytics not registering clicks

查看:134
本文介绍了Google Analytics未注册点击次数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个拥有一些Google Analytics(GA)代码的网站,我想跟踪我的网站上的一个文件的下载情况,我搜索了一段时间,发现如果我添加了这个代码:

  onClick =javascript:pageTracker._trackPageview('/ descarga_programa_Mono'); 

我可以通过查看将出现在GA仪表板上的descarga_programa_Mono但我没有得到任何结果= /有什么我失踪?



我的GA代码是最新的一个,据我所知是一个开始:

  var _gaq = _gaq || []; 

,它在我试图使用的onClick脚本之前。

$ b $我在几个月前在我的博客中写过关于这个问题的解答。
http://enterpriseyness.com/2010/ 08 / custom-event-tracking-with-google-analytics /


I have a website that has some Google Analytics (GA) code and I wanted to track the downloads made to one file on my site, I googled for a while and found that if I added this code:

onClick="javascript: pageTracker._trackPageview('/descarga_programa_Mono');"

I could track the downloads by just looking at the "descarga_programa_Mono" that would appear on the GA dashboard, however I am not getting any results =/ is there something I'm missing?

My GA code is the newest one as far as I know the one that starts with:

var _gaq = _gaq || [];

and it's before the onClick script that I'm trying to use.

解决方案

I wrote about this a few months ago in my blog. http://enterpriseyness.com/2010/08/custom-event-tracking-with-google-analytics/

这篇关于Google Analytics未注册点击次数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆