• Hello,

    I just updated to woo commerce last version and the plugin doesn’t send the ecom datalayer anymore, I also have the google-tag-prama alway undefined wish is frustrating.

    Thank you for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    You mean you have just installed WooCommerce v3.5?

    Hi @duracelltomi,
    I got a problem with your plugin, this work fine on some pages!
    But on cart page dont work, the error is:

    Uncaught TypeError: “. $gtm4wp_datalayer_name .”.push is not a function

    I try find this piece on your code but dont found nothing!
    Will you help me please! ??

    Regards.

    PD: My version plugin is 1.9 and WooCommerce 3.5.2

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi @dabrox,

    Next time, please open a new thread so that others can find their answer to a similar issue, thanks!

    Could you post the URL of your site where I can see this error message?

    Hi,
    Sorry next time I will open a new thread, I fixed this was a extra code on gtm.
    But now I see that active only some page!

    This my DevPage
    https://socoda.intermedios.a2hosted.com/
    or
    socoda.com.co

    Plugin Author Thomas Geiger

    (@duracelltomi)

    I am getting “Error establishing a database connection” message on your site

    Hi @duracelltomi.

    I just updated my Woocommerce v3.5.3 and dataLayer dont work.
    What option you recommend activate?

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Sorry for the long reply time, I started my year mostly today ??

    I’ve checked your sandbox site and I can see the data layer. For some reason, on your homepage a product click event is also fired but without product data. This has to be connected with some other JS code on your site, perhaps in your theme.

    Product clicks on list pages do not pickup product data: this is again some incompatibility with your theme since I can not see the meta data added by my plugin in the HTML code of a list page. You (or your dev) can check here what WooCommerce/Storefront codes need to execute in order to properly track product lists as well as other WooCommerce pages:
    https://gtm4wp.com/how-to-articles/how-to-make-your-wordpress-theme-compatible-with-enhanced-ecommerce-tracking

    The add to cart event is working properly on product detail pages.

    I can also see the checkout data layer as well.

    Since I had to pay for the goods in your shop with my credit card, I was not able to check your “order received” page but from what I can see it should work as well.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘DataLayer not working’ is closed to new replies.