Title: Analytics code posted but no data
Last modified: August 21, 2016

---

# Analytics code posted but no data

 *  [Gloria333](https://wordpress.org/support/users/gloria333/)
 * (@gloria333)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/analytics-code-posted-but-no-data/)
 * I added analytics code to my site at [http://www.catholictravelblog.com](http://www.catholictravelblog.com)
   yesterday. So far nothing has been reported. It has been 24 hours so I don’t 
   know if I did something wrong or just needed to wait longer.
 * [http://wordpress.org/plugins/googleanalytics/](http://wordpress.org/plugins/googleanalytics/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Gloria333](https://wordpress.org/support/users/gloria333/)
 * (@gloria333)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/analytics-code-posted-but-no-data/#post-4058196)
 * So far my experience with WordPress plug-ins has been great….except for this.
   I am a beginner so maybe I am just doing something wrong. Anyway the code that
   shows up when I use the plug-in is as follows:
 * <script type=”text/javascript”>
    var _gaq = _gaq || []; _gaq.push([‘_setAccount’,”
   UA-20476851-4”]); _gaq.push([‘_trackPageview’]); (function() { var ga = document.
   createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true; ga.src
   = (‘https:’ == document.location.protocol ? ‘[https://ssl&#8217](https://ssl&#8217);:‘
   [http://www&#8217](http://www&#8217);) + ‘.google-analytics.com/ga.js’; var s
   = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);})();
   </script>
 * But the code that Google gives me is different:
    <script> (function(i,s,o,g,r,
   a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).
   push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(
   o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,’script’,’//
   www.google-analytics.com/analytics.js’,’ga’);
 *  ga(‘create’, ‘UA-20476851-4’, ‘catholictravelblog.com’);
    ga(‘send’, ‘pageview’);
 * </script>
 * So I don’t know where to go from here. Google says tracking is not installed.
   Any help would be appreciated.
 * Just to confuse things more, I did have this plug-in installed earlier and it
   worked. But I had to move the analytics into my main properties section. I had
   is as a separate one before.

Viewing 1 replies (of 1 total)

The topic ‘Analytics code posted but no data’ is closed to new replies.

 * ![](https://ps.w.org/googleanalytics/assets/icon-256x256.jpg?rev=2624799)
 * [ShareThis Dashboard for Google Analytics](https://wordpress.org/plugins/googleanalytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/googleanalytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/googleanalytics/)
 * [Active Topics](https://wordpress.org/support/plugin/googleanalytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/googleanalytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/googleanalytics/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Gloria333](https://wordpress.org/support/users/gloria333/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/analytics-code-posted-but-no-data/#post-4058196)
 * Status: not resolved