• Resolved maxman1850

    (@maxman1850)


    Hi,

    My website is showing Can't find variable: ga javascript errors and prevents other scripts from loading. The error is caught by this plugin.
    I’ve disabled al caching/minifying plugins and the problem stays.

    Any idea what might be the problem?

    Kind regards,

    Max

    • This topic was modified 4 years, 6 months ago by maxman1850.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Adam Heckler

    (@adamkheckler)

    Hmm, is this error still occurring for you? I can’t see anything in the console on your site:

    https://d.pr/i/haKIsM/lzHCq7OMbX

    Looking at the network requests, Google Analytics seems to be working:

    https://d.pr/i/6804UE/YFcuXrVwtU

    Did you fix this already? Let us know if something’s still broken.

    Thanks!

    Thread Starter maxman1850

    (@maxman1850)

    Thank you for the quick reply!

    Yes, the problem still occurs. However, it only occurs to me when I visit the site for the first time (Private) and when I am not logged in.

    I’m using the latest Safari.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @maxman1850

    The plugin intentionally does not track admin traffic. You’ll need to test using guest checkout or a non WordPress admin user. If you have problems still, try switching back to a default theme like Twenty Twenty and disabling all plugins except for WooCommerce and Google Analytics to see if this resolves the problem.

    If this fixes the issue, then re-enable each plugin one at a time, then the theme, until you find the one that’s causing the conflict.

    Here is a link that better outlines that process:

    https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t find variable: ga’ is closed to new replies.