We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Click counter for each post EE v1.

Development and Programming

Cleiton Web's avatar
Cleiton Web
1 posts
15 years ago
Cleiton Web's avatar Cleiton Web

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.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.