質問

I would like to make some script (like some ads) to collect impressions on user site (views).

Does anyone know that works? I know that I should put some script code that should somehow send data to my website, but I am not sure what is the logic behind it? Does it sends data to another file which calls some script using Ajax or there is some easier logic?

I would like to make all from scratch and not to use Google analytics for that.

Thanks everyone for suggestions!

役に立ちましたか?

解決

Here are two recommendations:

Open Web Analytics - an open source framework that will let you setup your own PHP server and use an out of the box JS client for reporting

How To Create Your Own Stats Program (JavaScript, AJAX, PHP) - a good sample that will let you understand how to build a simple solution from scratch.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top