Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi! Thanks for a great plugin, we also just started to using GTM4WP.

    I noticed the same error in the console on our page. It seems like some other js functions on our site won’t work properly when the error shows up. But sometimes when I reload the page the error is gone and the other functions work as they should again.

    The error is in this file wp-content/plugins/duracelltomi-google-tag-manager/js/gtm4wp-social-tracker.js?ver=1.2

    line 63: window.twttr.ready(function ( twttr ) {
    Uncaught TypeError: Cannot read property ‘ready’ of undefined

    Not sure if the error is caused by a conflict with a previous twitter box or something else.

    I solved it for now by unchecking the “Social actions” checkbox under the [event]-tab since we don’t need that functionality.

    Thread Starter Doug M

    (@nes-native-english-services)

    The solution for me was to uncheck “Social actions (gtm4wp.socialAction)” in the event settings of GTM.

    Hope it helps.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Unfortunately this part of the code drives me crazy.
    For some reason there are issues with the async behavior of the Twitter codes. Sometimes they work, sometimes they don’t. Even if I find any kind of fix, some other trouble comes up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS errors causing big issues’ is closed to new replies.