This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Google Analytics Integration

#41752
Ernest MarcinkoErnest Marcinko
Keymaster

Thank you Bradley, I found the problem 🙂

The difference was created due to the different PHP version, and a yet unknown bug. There is a line in the plugin code, which basically checked if the analytics is disabled by checking if the “choice” does not equal to 0.
Turns out, that generates true on PHP8+ (dev server is running that), but a false statement on all the other versions. It was super hard to find.

The fix was very simple, I just added 2 extra characters to the ajax-search-pro/includes/classes/Asset/Script/Requirements.php file to check correctly, now the issue is resolved.

I will make sure to include this change in the upcoming patch.