• Hello,

    I was experiencing JavaScript Problems in the Front End with a Plugin called Max Mega Menu…it wouldn’t work any more. After a while I found out that DuracellTomi’s Google Tag Manager for WordPress causes the problem. To be specific, it’s line 64 of gtm4wp-social-tracker.js:

    window.twttr.ready(function ( twttr ) {

    Since we don’t need Twitter I changed line 63 to

    if (( typeof window.twttr != “undefined” ) AND ( 1==0 )) {

    so that it is always false and line 64 is never called.

    But this is not update-safe…the next plugin update will destroy these changes.

    Is there a possibility to switvh the Twitter Calls off in the Plugin Settings?

    (We use the latest Version of the Plugin)

    Thanks ??

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

    (@duracelltomi)

    Hi,

    This feature of the plugin has many issues with other plugins, I was actually never able to provide a stable fix. Because of this I plan to remove social measurement since it is rarely used and also many times buggy.

    Thomas Geiger

    Thread Starter bratze49

    (@bratze49)

    A good Idea. It will be included in one of the next Plugin Updates, I believe.

    Thanks a lot ??

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Yes, first I will just notice existing users and only later I will remove this entirely.
    In the meantime you can disable social actions on the options page of the plugin.

    Thread Starter bratze49

    (@bratze49)

    Ah…ok! Didn’t find that at first. Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘gtm4wp-social-tracker.js causes error’ is closed to new replies.