Title: Uncaught TypeError: ga_element is not a function
Last modified: May 19, 2017

---

# Uncaught TypeError: ga_element is not a function

 *  Resolved [exius](https://wordpress.org/support/users/exius/)
 * (@exius)
 * [9 years ago](https://wordpress.org/support/topic/uncaught-typeerror-ga_element-is-not-a-function/)
 * Repeatedly getting error in console:
 *     ```
       ga-scroll-events.js?ver=2.4.1:38 Uncaught TypeError: ga_element is not a function
           at track_event (ga-scroll-events.js?ver=2.4.1:38)
           at ga-scroll-events.js?ver=2.4.1:87
           at dispatch (jquery.js?ver=1.12.4:3)
           at r.handle (jquery.js?ver=1.12.4:3)
       ```
   
 * Is there a fix for this?

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

 *  Plugin Author [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * (@yuvalo)
 * [9 years ago](https://wordpress.org/support/topic/uncaught-typeerror-ga_element-is-not-a-function/#post-9151804)
 * Hi,
 * My guess is that you chose not to add the GA code and when the plugin tries to
   send an event, the Google Analytics object is not there.
    To be sure, can you
   please send a link to the page where you see the problem?
 * Thanks,
 * Yuval
 *  Plugin Author [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * (@yuvalo)
 * [9 years ago](https://wordpress.org/support/topic/uncaught-typeerror-ga_element-is-not-a-function/#post-9179752)
 * closing due to inactivity, please reopen if still relevant

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

The topic ‘Uncaught TypeError: ga_element is not a function’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-analytics-events/assets/icon-256x256.jpeg?rev=
   2189709)
 * [WP Google Analytics Events - No-Code Custom Event Tracking for Google Analytics](https://wordpress.org/plugins/wp-google-analytics-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-analytics-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-analytics-events/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-analytics-events/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/uncaught-typeerror-ga_element-is-not-a-function/#post-9179752)
 * Status: resolved