Title: Tracking with GA
Last modified: August 30, 2016

---

# Tracking with GA

 *  Resolved [fgmartin](https://wordpress.org/support/users/fgmartin/)
 * (@fgmartin)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/tracking-with-ga/)
 * I’ve added this code to the js:
 * $(‘.accordion-title’).click(function() {
    ga(‘send’, ‘event’, ‘Click’, ‘View-
   Accordion’, { nonInteraction: true });
 * But I’m getting this error:
 * Executing Google Analytics commands.
    analytics_debug.js:9 Running command: ga(“
   send”, {hitType: “event”, eventCategory: “click”, eventAction: “reveal”, eventLabel:“
   View-Accordion”}) analytics_debug.js:9 Command ignored. Unknown target: undefined
 * Any suggestions?
 * Thanks.
 * [https://wordpress.org/plugins/accordion-shortcodes/](https://wordpress.org/plugins/accordion-shortcodes/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/tracking-with-ga/#post-6721247)
 * I know almost nothing about custom Google Analytics tracking, so I won’t be much
   help. Sorry.

Viewing 1 replies (of 1 total)

The topic ‘Tracking with GA’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accordion-shortcodes.svg)
 * [Accordion Shortcodes](https://wordpress.org/plugins/accordion-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accordion-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accordion-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/accordion-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accordion-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accordion-shortcodes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/tracking-with-ga/#post-6721247)
 * Status: resolved