We are doing a POC for a customer to use wpDatatables as its main filtering "fast-finder" application in a cosmetics eshop.
Currently they are using (in the category pages of the site) the WOOF filter. It is far slower than a wpdatables, yet it also provides the ability to record each and every selection of the user in their custom database, while the request is also recorded via google analytics.
The potential client asked if we can integrate wpdatatables filter selections with google analytics, so that they can be able to track what the users are choosing to see, hopefully with sequence etc.
Is it possible to integrate to each filter option the ability to associate custom google property so that they can track it?
Any custom work, regardless if it's two lines of code or an entire file, needs to be reviewed by our developers, and that takes time. Since there are a lot of custom requests like this, the developers would spend quite a lot of time only reviewing those requests. Sometimes, it's not possible to achieve what the customers ask, and that is why they require all custom requests to be added to the feature suggestion page.
Features and improvements that have the most votes will be the priority for our developers.
The whole logic of the filter is in columnFilter.js file. Dropdowns are based on bootstrap select library, so you can trigger the change on 'change event' as mentioned in the example. The filters don't have IDs, but classes, and you can target them with (for example) .wdt-select-filter.wdt-filter-control:not("select")' selection.
We are doing a POC for a customer to use wpDatatables as its main filtering "fast-finder" application in a cosmetics eshop.
Currently they are using (in the category pages of the site) the WOOF filter. It is far slower than a wpdatables, yet it also provides the ability to record each and every selection of the user in their custom database, while the request is also recorded via google analytics.
The potential client asked if we can integrate wpdatatables filter selections with google analytics, so that they can be able to track what the users are choosing to see, hopefully with sequence etc.
Is it possible to integrate to each filter option the ability to associate custom google property so that they can track it?
Hello Dimitris
I am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features.
It would have to be developed as a custom solution. We haven't done anything similar before, so we can't even advise you on the next steps.
Sorry for the inconvenience.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Hi Aleksandar,
I do not think it is difficult for you.
https://www.simoahava.com/gtm-tips/track-selection-drop-list/
We only need some guidance on the calls that you are making during the selection so that we can adapt our Google tag manager property accordingly.
Thank you, Dimitris.
I forwarded the ticket to our developers, and I hope they'll be able to include it at some point in the future.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
HI again Dimitris.
Our developers asked if you could add this to our feature suggestion page.
Any custom work, regardless if it's two lines of code or an entire file, needs to be reviewed by our developers, and that takes time. Since there are a lot of custom requests like this, the developers would spend quite a lot of time only reviewing those requests. Sometimes, it's not possible to achieve what the customers ask, and that is why they require all custom requests to be added to the feature suggestion page.
Features and improvements that have the most votes will be the priority for our developers.
The whole logic of the filter is in columnFilter.js file. Dropdowns are based on bootstrap select library, so you can trigger the change on 'change event' as mentioned in the example. The filters don't have IDs, but classes, and you can target them with (for example) .wdt-select-filter.wdt-filter-control:not("select")' selection.
I hope that helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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