Title: Google Analytics Tracking code bug
Last modified: August 21, 2016

---

# Google Analytics Tracking code bug

 *  Resolved [dr.ubisha](https://wordpress.org/support/users/drubisha/)
 * (@drubisha)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-bug/)
 * Classic implementation of Google tracking code doesn’t work. Quotes are missing
   _gaq.push function at last argument in file adkingpro\includes\admin_area.php
   @ line 1036. This is producing JavaScript errors and of course analytics doesn’t
   work.
 * Please correct this in future release.
 * [https://wordpress.org/plugins/adkingpro/](https://wordpress.org/plugins/adkingpro/)

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

 *  Plugin Author [Ash Durham](https://wordpress.org/support/users/ashdurham/)
 * (@ashdurham)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-bug/#post-5146372)
 * Hey dr.ubisha,
 * Wow, great pickup. Thanks for the heads up. I have rectified this on my local
   version and will release soon. I’ll let you know once that available!
 * Thanks again
 *  Thread Starter [dr.ubisha](https://wordpress.org/support/users/drubisha/)
 * (@drubisha)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-bug/#post-5146537)
 * NP 😉
 *  [scarey1952](https://wordpress.org/support/users/scarey1952/)
 * (@scarey1952)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-bug/#post-5146694)
 * Google Analytics tracking is not working for me. I am using Ad King Pro 1.9.15.
   I pasted the GA Javascript code to the top of the <body> section of each page.
   I’ve set the Ad King Pro Tracking Setting options to Track Impressions, Track
   Clicks, Enable Tracking via Google Analytics, selected Universal for the GA code
   type. Impression action name is set to Impression. Click action name is set to
   Click. I made these changes about 4 days ago. When I log into the GA account 
   and go to Behavior–>Events and look under Actions, there is no data being reported.
 * We have a bunch of header and sidebar Adverts entered via text widgets that are
   showing up just fine, but no GA tracking data is showing up. I have left the 
   Campaign (GA Category) and Banner Name (GA Label) fields blank for each Advert.
 * Am I missing some important step or doing something wrong?
 * Thanks

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

The topic ‘Google Analytics Tracking code bug’ is closed to new replies.

 * ![](https://ps.w.org/adkingpro/assets/icon-256x256.png?rev=1060727)
 * [Ad King Pro](https://wordpress.org/plugins/adkingpro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adkingpro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adkingpro/)
 * [Active Topics](https://wordpress.org/support/plugin/adkingpro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adkingpro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adkingpro/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [scarey1952](https://wordpress.org/support/users/scarey1952/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-tracking-code-bug/#post-5146694)
 * Status: resolved