English 中文(简体)
将信息添加到角角分析器网页上
原标题:Adding information to a google analytics pageview

我利用权宜之计监测我的交通情况。 在一些网页上,我只想记录更多的信息。 例如,如果某个人访问一个简介页,如果该简介是名人的话,我也希望记录下来。

为此,我不想人为地改变卢爱阵。 Can 我在一页的概述中加上数据,就像我对大会活动所做的那样? 当然,我要根据这些数据分析交通。

最佳回答

如果你真想使用URL(我不建议使用)发送元数据,你可以将其作为第二个参数寄至<代码>。 呼吁:

_gaq.push(["_trackPageview", "/custom-url-for-celebrity-view]);

不过,用Custom Variables

_gaq.push(["_setCustomVar", 1, "Page Type", "Celebrity Profile", 3]);
_gaq.push(["_trackPageview"]);

这样,你自然的URL数据得以保存,但习惯变量提供了你所知道的元数据。

问题回答

暂无回答




相关问题
Web Analytics for Platform with Custom Events

I m building a platform that produces websites. Think wordpress.com as a similar example. Each site is going to be a subdomain of my domain like abc.mydomain.com or xyz.mydomain.com. I have a few ...

Removal of homepage login users from analytics

The problem I am having is filtering out the users that come to our homepage just to login, since we have the client button on the homepage (and yes I ve tried to get them to put it somewhere else). ...

Finding runs of a particular value

I have a table in Oracle 10 that is defined like this: LOCATION HOUR STATUS -------------------------------------- 10 12/10/09 5:00PM 1 10 12/10/09 6:00PM 1 ...

tracking download completions from a website/cdn

I have a Drupal website where users are clicking on a link that initiates a file download from a content delivery network (CDN). A script is tracking the number of users who click the link to begin ...

Update based on subquery fails

I am trying to do the following update in Oracle 10gR2: update (select voyage_port_id, voyage_id, arrival_date, port_seq, row_number() over (partition by voyage_id order by arrival_date) as ...

Google Analytics _trackEvent troubles

I m having some noob troubles with Google Analytics and _trackEvent. Using it seems straight forward in the documentation, but I can t get this simple example to work. The call to _trackEvent fails ...

热门标签