Support » Plugin: Enhanced Ecommerce Google Analytics Plugin for WooCommerce » Console Error on BUY NOW button click

  • Resolved manishverma


    Hi there,
    I am facing this issue on my product page when clicked on the Buy Now button in the console it shows the following –

    (index):853 Uncaught TypeError: Cannot read property ‘ATC-link’ of undefined
    at prod_ATC_link_exists ((index):853)
    at HTMLAnchorElement.<anonymous> ((index):896)
    at HTMLAnchorElement.dispatch (jquery.js?ver=1.12.4:3)
    at HTMLAnchorElement.r.handle (jquery.js?ver=1.12.4:3)
    prod_ATC_link_exists @ (index):853
    (anonymous) @ (index):896
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

    the code for same is on



    Please suggest ways to fix the it.

    Thank You

    • This topic was modified 9 months, 1 week ago by manishverma.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Tatvic


    Hi Manish,

    Thank you for writing to us!

    We did a quick look of your store & found the following outcomes:

    1. Custom theme detected on your store & as we have mentioned in the description & FAQs, the free version is not fully compatible with the child/custom theme.

    2. for this page, Add to cart is working perfectly.

    3. your store is having 2 different structure for the product page. 1st, as we have mentioned in point 2 & second, is this: (ATC not working on this due to customization, plugin is unable to detect it as a standard product page).

    For more, information, feel free to contact us at analytics2(at)tatvic(dot)com

    Thanks & Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Console Error on BUY NOW button click’ is closed to new replies.