Title: Javascript issue with twitter function Uncaught TypeError
Last modified: September 1, 2016

---

# Javascript issue with twitter function Uncaught TypeError

 *  [Karlos Sarunic](https://wordpress.org/support/users/websark/)
 * (@websark)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/javascript-issue-with-twitter-function-uncaught-typeerror/)
 * Just reporting a JS, have had to deactivate the plugin for now as its causing
   all JS on our website to break.
 * Chrome error msg:
    gtm4wp-social-tracker.js?ver=1.2:63 Uncaught TypeError: window.
   twttr.ready is not a function
 * File: on line 63
    /plugins/duracelltomi-google-tag-manager/js/gtm4wp-social-tracker.
   js?ver=1.2
 * [https://wordpress.org/plugins/duracelltomi-google-tag-manager/](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/javascript-issue-with-twitter-function-uncaught-typeerror/#post-7474108)
 * Hi,
 * I updated some code in v1.3 of my plugin to address this issue.
    Please let it
   a try again.
 * If you still see this error message, please deactivate the social tracking checkbox
   in the settings of my plugin. It will solve the issue without the need to deactivate
   the whole plugin.
 * Thomas
 *  [subeaseadmin](https://wordpress.org/support/users/subeaseadmin/)
 * (@subeaseadmin)
 * [9 years ago](https://wordpress.org/support/topic/javascript-issue-with-twitter-function-uncaught-typeerror/#post-9090149)
 * I am getting the same error with 1.6.1
 * jquery-migrate-1.4.1.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version
   1.4.1
    gtm4wp-social-tracker.js?ver=1.6.1:64 Uncaught TypeError: window.twttr.
   ready is not a function at HTMLDocument.<anonymous> (gtm4wp-social-tracker.js?
   ver=1.6.1:64) at i (jquery-2.2.4.min.js?ver=2.2.4:2) at Object.fireWith [as resolveWith](
   jquery-2.2.4.min.js?ver=2.2.4:2) at Function.ready (jquery-2.2.4.min.js?ver=2.2.4:
   2) at HTMLDocument.J (jquery-2.2.4.min.js?ver=2.2.4:2) (anonymous) @ gtm4wp-social-
   tracker.js?ver=1.6.1:64
 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [9 years ago](https://wordpress.org/support/topic/javascript-issue-with-twitter-function-uncaught-typeerror/#post-9090177)
 * Hi,
 * This feature is planned to be removed in a next plugin version as it does not
   seem to be stable enough and I was not able to find a proper solution.
 * Thomas
 *  [bratze49](https://wordpress.org/support/users/bratze49/)
 * (@bratze49)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-issue-with-twitter-function-uncaught-typeerror/#post-9179130)
 * Hi,
 * I had the same issue in Firefox: window.twttr.ready is nnot a function. But i
   could get rid of it by deactivating the Social Tracking Checkbox, as suggested.
 * Thanks for this Plugin 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Javascript issue with twitter function Uncaught TypeError’ is closed 
to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

## Tags

 * [js](https://wordpress.org/support/topic-tag/js/)

 * 4 replies
 * 4 participants
 * Last reply from: [bratze49](https://wordpress.org/support/users/bratze49/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/javascript-issue-with-twitter-function-uncaught-typeerror/#post-9179130)
 * Status: not resolved