Implementing a click tracker/PPC via API Controller
I'm implementing a basic pay per click for an umbraco site - when a visitor clicks on a link to a node, the owner of the node (a member) has its credit (an int property) decremented.
I was thinking to do this via a API Controller - so when the user clicks, in addition to navigating to the page a request is sent (via JS) to the controller with the clicked nodes ID (/umbraco/api/trackclicks/1001 for example).
My worry is performance - is the controller/contentservice the best way to do it if a lot of people are clicking simultaneously.
Has anyone implemented something similar or has any tips? Many thanks!
Implementing a click tracker/PPC via API Controller
I'm implementing a basic pay per click for an umbraco site - when a visitor clicks on a link to a node, the owner of the node (a member) has its credit (an int property) decremented.
I was thinking to do this via a API Controller - so when the user clicks, in addition to navigating to the page a request is sent (via JS) to the controller with the clicked nodes ID (/umbraco/api/trackclicks/1001 for example).
My worry is performance - is the controller/contentservice the best way to do it if a lot of people are clicking simultaneously.
Has anyone implemented something similar or has any tips? Many thanks!
is working on a reply...