stape-io / gtm-server-side-wordpress-plugin

Google Tag Manager Server-Side plugin for WordPress
https://stape.io/how-to-add-google-tag-manager-server-side-container-to-wordpress/
GNU General Public License v2.0
16 stars 4 forks source link

Remove jQuery dependency in favour of vanilla JS #11

Open roborourke opened 6 months ago

roborourke commented 6 months ago

Not sure if it matters if WooCommerce queues up jQuery on all pages anyway but the event handling could be easily swapped out for vanilla JS. This will mean better performance on sites that otherwise wouldn't need to load jQuery, at least not on all pages.

vladkononov commented 6 months ago

Hi @roborourke, there were never any complaints about it, we will internally discuss this and potentially add this to a backlog, but as a low-priority task. Thank you for the suggestion!