Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
- We would recommend Google Analytics as the best option, but mixpanel is also a great choice.
Please contact us further if you need anything else regarding this.
I will pass this to our developers, to have it handy when the opportunity to help someone with this arises. Or if someone searches for it in public tickets, they will find it here.
What would be the most simple and effective way to track filter selections of datatable made by visitor?
1. track by google tags and view in analytics? Recommended method?
2. scan all filter options after every selection by JS and store in database or wpdatadables?
Hello, Miroslav.
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
- We would recommend Google Analytics as the best option, but mixpanel is also a great choice.
Please contact us further if you need anything else regarding this.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks. I was not asking for a system to track but for the method how to catch checkbox selection by JS.
1. Is there a way to read current filter values the visitor has selected via JS? E.g. accessing the wpDataTables Object?
2.How to read the value a visitor has typed in the search box via JS?
Hi, Miroslav
- Sorry about that, I didn't understand exactly what you needed at first.
- We don't store the data which the user inputs into the filters; that data is being passed to the server(if it is a server-side table),
or passed to the database engine(if not server-side).
- Every filter has its own logic, if you wish you can see that in this JS file :
wp-content/plugins/wpdatatables/assets/js/wpdatatables/wdt.columnFilter.js
- That being said, something like this perhaps might be done with some custom solution
but is not part of our technical support for the plugin.
We can recommend reaching out to WPKraken, but we don't know their prices for custom work.
Apologies that we are not able to help you fully construct a solution for this.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks. I have done it by myself.
In case someone is interested in the solution:
1. add $(document).click(function(event) { //magic here }); and check if event.target hasClass "checkbox"
2. toggleClass "checked" to this event.taget
3. after every click get all elements with Class "checked"
4. dont forget to reset "checked" classes after pressing the reset filter buttons
Hope it helps someone
Hi, Miroslav.
Thank you very much ;
I will pass this to our developers, to have it handy when the opportunity to help someone with this arises. Or if someone searches for it in public tickets, they will find it here.
Thanks again for the contribution.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables