P
P
pratamishus2011-04-28 19:29:54
Google Analytics
pratamishus, 2011-04-28 19:29:54

Does Analytics knock down all statistics?

Hello!
The problem is complete nonsense and I do not know how to solve it. Can anyone come across? I have a project with an icon finder and google analytics installed. I decided to make a tag cloud for the most frequently asked queries in the search. However, I ran into this problem:
When a user searches for an icon, I add 1 to the total searches for that tag. Then I insert this request into the session so that when the user goes to the second page, or once again searches, the amount is not added. Accordingly, 1 should be added to each keyword only once from one user. However, as it turned out, with each request of the user of the google analytics server, they also give a request to the requested page. What does the request come from different ips and sometimes from 2 or 3 ips per user request and the session is not controlled. every time a different server. That is, if a user searched for an icon one word at a time and went through 10 pages, from 20 to 30 are added to the keyword in the tag cloud, which completely knocks down all the statistics for creating the cloud.
I removed the analytics, and everything was fixed. But I need it :)?
Does anyone have any ideas how to solve this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zloyshaman, 2011-04-28
@zloyshaman

Filter search engines by user agent.

Z
zibada, 2011-04-29
@zibada

changing the state by ordinary GET requests is evil, you never know what other bots will run in and start “clicking” on everything in a row.
send a POST request to your statistics script from the search results page using javascript.
about the same as the analyst himself does.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question