Title: Google analytics does not work anymore
Last modified: August 31, 2016

---

# Google analytics does not work anymore

 *  [erovati](https://wordpress.org/support/users/erovati/)
 * (@erovati)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/)
 * Hi,
    I have been using google analytics since I have started my blog [http://www.tripsanthology.com](http://www.tripsanthology.com)
   without any problem. Since the end of last year there are no hits showing up 
   i get a notification on google analytics to review my code. But I haven’t changed
   anything in the meantime and the google tag assistant is telling me my website
   is fine. I am not sure this could be a problem of an update of wordpress or tracks?
   What do you think? Thanks, Elena

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

 *  [Madhusudan Pokharel](https://wordpress.org/support/users/madhusudan977/)
 * (@madhusudan977)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/#post-6932953)
 * Hello Elena,
    Open the “Real Time” feature in Google Analytics and ping your 
   site. If you pop up on the real time, you know you’re set up.
 *  [Softound Solutions](https://wordpress.org/support/users/softound/)
 * (@softound)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/#post-6932977)
 * Hi,
 * Try to use the google analytics code at footer
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/#post-6933016)
 * Hi Elena,
 * The analytics code looks alright except it is missing the “type” parameter: [http://pics.competethemes.com/2P2A2A3W1a1v](http://pics.competethemes.com/2P2A2A3W1a1v)
 * I’m not exactly sure if this will fix the data collection issue, but it would
   be worth modifying the opening script tag to look like this:
 * `<script type="text/javascript">`
 * You could update the code manually, or re-copy it from your Google Analytics 
   admin page to make this change.
 *  [Softound Solutions](https://wordpress.org/support/users/softound/)
 * (@softound)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/#post-6933022)
 * I think the “type” attribute is optional in HTML5, nowadays i see most of the
   sites don’t include “type” attribute in script tag.
 *  Thread Starter [erovati](https://wordpress.org/support/users/erovati/)
 * (@erovati)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/#post-6933142)
 * I have tried with placing the code in the footer but nothing changed.
    It looks
   like a different problem to me as it always worked over the past 6 months, and
   I did not change anything in the editor.
 *  Theme Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/#post-6933143)
 * Okay thank you for trying that. I would recommend resetting the tracking code
   and clearing your cache to make sure it is getting found and is without any syntax
   errors.
 * If you are using a plugin to insert the code, perhaps try reverting to an older
   version of the plugin from when the code was functioning properly.

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

The topic ‘Google analytics does not work anymore’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/tracks/1.81/screenshot.png)
 * Tracks
 * [Support Threads](https://wordpress.org/support/theme/tracks/)
 * [Active Topics](https://wordpress.org/support/theme/tracks/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/tracks/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/tracks/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)

 * 6 replies
 * 4 participants
 * Last reply from: [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/google-analytics-does-not-work-anymore/#post-6933143)
 * Status: not resolved