Title: js error
Last modified: August 19, 2016

---

# js error

 *  [Maka](https://wordpress.org/support/users/vovotte/)
 * (@vovotte)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/js-error/)
 * hej,
    I’ve got this error message. `_gaq.push(['_trackPageview']); (function(){
   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async
   = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://
   www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('
   script')[0]; s.parentNode.insertBefore(ga, s); })();` What is this ? [my blog ](http://karat.katapult.free.fr/blog)

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/js-error/#post-1619803)
 * Looks like the Google Analytics script. Did you add this to one of your theme
   files? If so, which file and where? Adding it to footer.php just before the closing`
   </body>` tag is normally recommended.

Viewing 1 replies (of 1 total)

The topic ‘js error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/js-error/#post-1619803)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
