Hi Peter,
I tested Google Analytics with the latest plugin version v1.6.2 and it works well.
I think it was was an error related to the cache.
Try to activate the latest version again and after that clear all caches.
Also, I can check your case individually. Contact me via https://ajaxsearch.pro/contact/
Best Regards
Damian Góra
Thread Starter
ps.vos
(@psvos)
Hi Damian,
I can confirm that Analytics is working, but conversion tracking isn’t. So I can see visitors and general stuff, but can’t see add to carts, transactions and so on. GA conversion tracking works well with 1.6.1 but breaks with 1.6.2 even after clearing all caches.
From source code I see the following error:
Uncaught TypeError: Cannot read property ‘sale_badge’ of undefined
at HTMLDocument.<anonymous> (jquery.dgwt-wcas.min.js?ver=1.6.2:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
-
This reply was modified 6 years, 1 month ago by
ps.vos.
It seems you still use special backward compatibility mode from 2018.
Could you disable this mode? Go to WooCommerce -> AJAX Search bar. You should see a special notice with instructions on how to disable it.
If you can’t see it, you can also disable this mode by removing a few options from the database. You can do it using Code Snippets plugin and pasting following code:
delete_option('dgwt_wcas_backward_compatibility');
delete_option('dgwt_wcas_backward_compatibility_version');
Firee this snippet only one.
Best
Damian Góra