[Gelöst] Can I count the clicks on my custom post type, somehow?
Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.
Problem:
The issue here is that the user wants to count the number of clicks on an ad div
Solution:
Unfortunately this isn't possible with our toolset plugins and as such would require some custom code to achieve. For custom coding I would recommend contacting one of our registered consultants. https://toolset.com/contractors/
This support ticket is created vor 6 Jahren, 8 Monaten. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
To understand your case exactly is it that you want some kind of view counter on your ads? So when a user clicks to view the ads then the view counter increases?
Can you give me any suggestions, tips or relevant informations, weather toolset or wordpress together have parameters, functions or any kind of stuff to develope this?
Actually counting the clicks on a div will be a bit difficult as you will need somewhere to store the amount of clicks on that div. You can count the clicks but does this div that is being clicked leads to a post ?
If so then it would be better to count the clicks on that posts or rather the amount of times this post was viewed.
Please let me know what you think of this.
Thanks,
Shane
The idea is to create a custom post type for Ads. You surely can imagine, that it is important to count the number of clicks. Just to messure the success of each ad individually.
I see what you are trying to achieve now. Unfortunately for this it will need some 3rd party code that our plugins are not able to provide.
What I recommend that you do is to contact one of our certified consultants in order to get this done. They should be able to create a custom solution for this. https://toolset.com/contractors/
Thanks,
Shane