gtm4wp-social-tracker.js causes error
-
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 ??
- The topic ‘gtm4wp-social-tracker.js causes error’ is closed to new replies.