Thursday, January 17, 2019 11:57:44 PM

Unpossibility to get ProductImpressions and Addtocart Datalayers

17 days ago
#8567 Quote

Currently I have this plugin installed in my localhost and I´ve been playing with the demo version and everything works flawlessly, but it is impossible for me to get the datalayers from Product Impressions and the action from the user of add to cart. I have a personalized theme for my web and it might be related with the problem, but I tried enabling the default one and it is not working neither.

17 days ago
#8568 Quote
I´ve been tryng to make it work but so far I have not being able to do it.

Do anyobdy know how to proceed to solve this problem?

I am very interested into this plugin because the rest of the data is being received smoothly.

14 days ago
#8573 Quote
Plugin has JS file googleeehelper.js.

If your theme has original nopcommerce css styles than plugin can replace events.

Plugin tries to find all 'Add To Cart' buttons using this JS code.

        $('.add-to-cart-button, .product-box-add-to-cart-button').each(function () {
            var productid = GoogleEEHelper._getProductId(this);
            if (productid > 0) {
                $(this).click({ productid: productid }, function (event) {