Posted - 10/23/2022 : 09:54:53
Currently running PHP version 7.5.4 with the GA4 tag details being called from "incectstyle.php" on the various website pages.
Noticed that when using the website search function and then from the search results page using the Quick Buy button, which then displays the Quick Buy pop up window, then the Add to Cart button does not work.
I can see when using Firefox to inspect the page for errors that on the search page once the search button is executed then there is an "Uncaught ReferenceError: gtag is not defined" error against any products that are returned from the search results. The GA4 tag details and Add to Cart buttons are working without problem from the other website pages.
Any ideas what needs changing to get the add to cart function working from the search page results?
Many thanks.
Neil
Edited by - xyz1 on 10/24/2022 01:33:14
|