Hello,
Sorry for my English. I recently had need to count clicks and views of a post. More specifically I need to count how many times an ad was clicked on my site. So I developed a plugin that solves this. It works in version EE1. Works as follows:
1 - Create a custom field to the weblog that will count the clicks of the post.
2 - Look at the id or name of the field created by example field_id_90.
3 - After I insert the name (idField) function and the id (idpost) the entry I want to count the clicks. Example {exp:count_clicks idField = "field_id_90" idpost = "1040"}
For the plugin works as click counter the function should be activated only after clicking the url of the ad. In my solution refers to a page where this role exists and another that refers to the desired URL.
If the plugin and wish more information contact me.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.