English 中文(简体)
"pageview" term in web world
原标题:

I m building a web app and need to implement "how many times the item is being viewed". What is the term of "being viewed"? is it every time someone goes to that page or being counted once for the same session? please help

最佳回答

There are basically two types of definitions for the term page view .

From a technical point of view, it can represent the times the page has been requested by a web browser. This can be interesting information if you have to optimize your application s code, but it has little to no value for the visitors of your site.

The thing that visitors are more likely to be interested in, is the number of people that have viewed the page. Although you cannot exactly measure this, you can get a good approximation by treating multiple requests within a session as a single view. If your application allows visitors to log in, you can even treat all requests by a single user as one page view, regardless of when the requests were made.

Since you will be presenting the number of views on the page, you ll probably want the number of people that have viewed the page, rather than the number of requests.

问题回答

That depends on whether you want to track Page Views or Number of Visitors..

Though StackOverflow seems to use "Views" per visitor, not actual Page Views.

Everytime someone goes to that page.

Assuming you have a database for items, or whatever, you ll need to have a column that represents the view. On every page load you will increment that counter.

It means the number of times a page has been viewed. It is not tied to a user session. It is more related to the application scope.





相关问题
vectors vs. vector graphics

What (if any) is the relationship between vectors used in programming languages (e.g. arrays) and vector graphics? Why do they share the term vector? Does it represent some analogous aspect of their ...

MVC and Property Terminology in Objective-C

I am having a problem with terminology I think. Is a ViewController the Controller portion of MVC? Or is it not the same thing. Is this combining the VC of MVC into one file? Properties like ....

Origin of "map" in Computer Science

In computer science, there are two definitions of the word map. The first is as an associative array, a type of container that maps values of one type to values of another type. An example of this is ...

Definition of the word "patch"

Personally, I use the word "patch" as the software equivalent of a symptomatic treatment, which makes a patch a quick-and-dirty bugfix. However, I m not sure this is correct, because I often see it is ...

What is Facet in JavaEE?

I wonder not only what is Facet but also what is Facet in physical level (as I understand it s not a separate jar, but what?)? I also wonder how can it affect my application after deploying. I ll ...

What is the meaning of "POSIX"?

What is POSIX? I have read the Wikipedia article and I read it every time I encounter the term. The fact is that I never really understood what it is. Can anyone please explain it to me by explaining ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

热门标签