Title: Nginx Server Analytics Not Working
Last modified: September 1, 2016

---

# Nginx Server Analytics Not Working

 *  [Rogue Web Design](https://wordpress.org/support/users/roguewebdesign/)
 * (@roguewebdesign)
 * [10 years ago](https://wordpress.org/support/topic/nginx-server-analytics-not-working/)
 * Hi there,
 * I am using Better Google Analytics. We have recently moved the website to a new
   server and theme.
 * Now for some reason, the plugin is no longer outputting the tracking code correctly.
 * I see:
 * `<script type='text/javascript' src='http://www.domainname.com/wp-content/plugins/
   better-analytics/js/loader.php?ver=1.1.4.js' ></script><meta id="ba_s" property
   ="options" content="" data-o="{&quot;tid&quot;:&quot;UA-XXXXXXXX-9&quot;,&quot;
   et&quot;:15,&quot;co&quot;:&quot;auto&quot;,&quot;g&quot;:461804,&quot;dl&quot;:&
   quot;\\.avi|\\.dmg|\\.doc|\\.exe|\\.gz|\\.mpg|\\.mp3|\\.pdf|\\.ppt|\\.psd|\\.
   rar|\\.wmv|\\.xls|\\.zip&quot;,&quot;s&quot;:6,&quot;a&quot;:0,&quot;d&quot;:{&
   quot;c&quot;:[1,&quot;Business,News&quot;],&quot;a&quot;:[2,&quot;Porsha Willian&
   quot;],&quot;t&quot;:[3,&quot;Amazon,Apple,Child Privacy,Echo,Siri&quot;],&quot;
   y&quot;:[4,2016],&quot;r&quot;:[5,&quot;guest&quot;]}}" />`
 * Coming out in the footer of the site, however, in the last two days, we have 
   received no tracking data, no do I see any Real Time data when visiting pages(
   logged out).
 * I have deactivated all other plugins, and the issue persists.
 * Tracking works fine if I use the default code, but not when I use the plugin.
 * Any Ideas?
 * Thanks 🙂
 * [https://wordpress.org/plugins/better-analytics/](https://wordpress.org/plugins/better-analytics/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [digitalpoint](https://wordpress.org/support/users/digitalpoint/)
 * (@digitalpoint)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/nginx-server-analytics-not-working/#post-9008564)
 * Do you by chance have a URL I could check?

Viewing 1 replies (of 1 total)

The topic ‘Nginx Server Analytics Not Working’ is closed to new replies.

 * ![](https://ps.w.org/better-analytics/assets/icon.svg?rev=1170242)
 * [Better Google Analytics](https://wordpress.org/plugins/better-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/better-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-analytics/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [digitalpoint](https://wordpress.org/support/users/digitalpoint/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/nginx-server-analytics-not-working/#post-9008564)
 * Status: not resolved