Support » Plugin: Google Analytics and Google Shopping plugin for WooCommerce » Unresolved: adsTringId is not defined

  • Resolved jessicalynncodes


    Hello! I found an old topic on this, but it was marked resolved so I wanted to create a new topic for visibility. I am getting the following error / stack trace on my product page, which is breaking all subsequent scripts on the page:

    jquery.min.js?ver=3.6.0:2 Uncaught ReferenceError: adsTringId is not defined
    at HTMLDocument.<anonymous> ((index):2856)
    at e (jquery.min.js?ver=3.6.0:2)
    at t (jquery.min.js?ver=3.6.0:2)

    I disabled autoptimize entirely, and it did not fix the error, so the original topic’s solution doesn’t appear to be valid any longer. I am using plugin version 4.1.3. Let me know what other info I can provide!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tatvic


    Hi @jessicalynncodes,

    We have had a look at the website and observed that “adsTringId is not defined” is occurring only on the pages which utilize WooCommerce. The error is not occurring on Home, Contact us, Blog, etc. pages

    The reason for the error seems to be some header and footer WordPress hooks are not getting added on the WooCommerce related pages. The plugin utilizes header and footer hooks to run the tracking codes properly.

    Solution: please make sure the header and footer hooks get called on WooCommerce pages as well.

    Hope the above helps.

    Tatvic Analytics.



    @jessicalynncodes could you let me know what was the problem, as I have similar symptoms to yours.


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.