Title: jQuery Reference Error
Last modified: August 31, 2016

---

# jQuery Reference Error

 *  [Victor Font](https://wordpress.org/support/users/vfontj/)
 * (@vfontj)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/jquery-reference-error/)
 * There appears to be a problem with the Facebook button in the latest release.
   When someone clicks on the button, the folloing error appears in the console:
 * ReferenceError: _gaq is not defined
    Plugin.prototype.openPopup() jquery.sharrre.
   min.js:41 .click() fish-tale-radio:316 Plugin.prototype.init/<() jquery.sharrre.
   min.js:19 m.event.dispatch() jquery.js:4 m.event.add/r.handle() jquery.js:4
 * It will post a generic link to Facebook, but not the post that is being shared.
 * [https://wordpress.org/plugins/genesis-simple-share/](https://wordpress.org/plugins/genesis-simple-share/)

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

 *  [Nick C](https://wordpress.org/support/users/modernnerd/)
 * (@modernnerd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/jquery-reference-error/#post-7140431)
 * Hi Victor
 * Thanks very much for reporting this.
 * The “_gaq is not defined” error is an issue that affects sites not using Google
   Analytics, but it should not prevent the Facebook button from sharing the correct
   page.
 * Are you able to share a link to a page that displays this issue? I’d be happy
   to take a closer look for you.
 *  [macrunner](https://wordpress.org/support/users/macrunner/)
 * (@macrunner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/jquery-reference-error/#post-7140498)
 * Hi,
 * I confirm the error:
    ** jquery.sharrre.min.js:41:465 ReferenceError: Can’t find
   variable: _gaq**
 * This error is reported by Chrome and Safari.
    This happens with any child theme
   Genesis, even with Genesis Sample.
 * Thanks
 *  [Nick C](https://wordpress.org/support/users/modernnerd/)
 * (@modernnerd)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/jquery-reference-error/#post-7140499)
 * Hi, Macrunner.
 * Genesis Simple Share currently uses a Google Analytics tracking feature provided
   by the Sharrre library so that you can record which share button someone pressed
   in Analytics. This is helpful to learn what button is the most popular for your
   site, for example: [http://sharrre.com/track-social.html](http://sharrre.com/track-social.html)
 * If Analytics is not set up for your site, you’ll see the “Can’t find variable:
   _gaq” message in your console if you press one of the share buttons, but this
   should otherwise not affect the sharing functionality.
 * Currently, it’s not possible to disable the Google Analytics integration entirely
   without editing the plugin. (You would need to set enableTracking to false [on this line](https://github.com/copyblogger/genesis-simple-share/blob/54e2c2d5915ac706af1ac153eae515cc615bec18/lib/front-end.php#L372)
   in `front-end.php`.) Note that plugin updates will overwrite this change, though.)
 * I hope that helps to explain things, but feel free to ask if you need further
   help with this.
 *  [macrunner](https://wordpress.org/support/users/macrunner/)
 * (@macrunner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/jquery-reference-error/#post-7140502)
 * Hi Nick,
    thanks for the clarification 🙂

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

The topic ‘jQuery Reference Error’ is closed to new replies.

 * ![](https://ps.w.org/genesis-simple-share/assets/icon.svg?rev=3358434)
 * [Genesis Simple Share](https://wordpress.org/plugins/genesis-simple-share/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-simple-share/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-simple-share/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-simple-share/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-simple-share/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-simple-share/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [macrunner](https://wordpress.org/support/users/macrunner/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/jquery-reference-error/#post-7140502)
 * Status: not resolved