Title: Code visible in Header
Last modified: January 11, 2023

---

# Code visible in Header

 *  [andersjj1980](https://wordpress.org/support/users/andersjj1980/)
 * (@andersjj1980)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/code-visible-in-header/)
 * This code appears in the header on the actual webpage. Any ideas how to remove
   that code? Can’t seem to find it in the theme header in the Responsive Theme (
   not a child theme). 
   Thank you very much, Andersvar _gaq = _gaq || []; _gaq.push([‘
   _setAccount’, ‘UA-33250060-1’]); _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);})();
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-visible-in-header%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Tejas Sonawane](https://wordpress.org/support/users/tejassonawane21/)
 * (@tejassonawane21)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16380508)
 * We apologize for the late response.
   It seems that you have inserted the code 
   incorrectly.The code must be enclosed in the <script> tag.Please use the code
   provided below.
 *     ```wp-block-code
       <script>
       var _gaq = _gaq || []; _gaq.push([‘_setAccount’, ‘UA-33250060-1’]); _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); })();
       </script>
       ```
   
 * Hope, this helps for you.
 * If you are still facing issues.
 * Please feel free to contact us.
 * Best Regards
 *  Thread Starter [andersjj1980](https://wordpress.org/support/users/andersjj1980/)
 * (@andersjj1980)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16380523)
 * Thank you very much.
   Where in the theme dashboard do I insert the code?Best regardsAnders
 *  [Tejas Sonawane](https://wordpress.org/support/users/tejassonawane21/)
 * (@tejassonawane21)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16380635)
 * Hi there,
 * Thanks for you reaching out.
 * You can insert the provided code using the below steps:
   1) Dashboard -> Appearance-
   > Customize2) Header -> Scripts3) Insert the provided code.
 * Hope, this helps for you.
 * Please feel free to contact us in case of any issues.
 * Best Regards.
 *  Thread Starter [andersjj1980](https://wordpress.org/support/users/andersjj1980/)
 * (@andersjj1980)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16380708)
 * I inserted the code, but the code text is still visible on top of the page. The‘
   Scripts’ field was empty before I inserted the code you provided. So the visible
   code must come from someplace else, from an earlier version of the theme? It 
   appeared after I updated the theme. Can you please advice?
 *  Thread Starter [andersjj1980](https://wordpress.org/support/users/andersjj1980/)
 * (@andersjj1980)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16422233)
 * Please help with this. It is the theme producing that code somehow.
   Best regards
 *  [Tejas Sonawane](https://wordpress.org/support/users/tejassonawane21/)
 * (@tejassonawane21)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16423979)
 * Hello there,
 * Could you please raise a ticket on the CyberChimps support forum by contacting‘
   support@cyberchimps.com’ with detailed information and screenshots?
 * It will help us to resolve the issue on priority and give you the best possible
   solution.
    -  This reply was modified 3 years, 3 months ago by [Tejas Sonawane](https://wordpress.org/support/users/tejassonawane21/).
 *  Thread Starter [andersjj1980](https://wordpress.org/support/users/andersjj1980/)
 * (@andersjj1980)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16441575)
 * I did this, but have not recieved an answer yet. Best regards, Anders
 *  Theme Author [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * (@cyberchimps)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16606854)
 * Hi,
 * Hope you have received an answer to your issue?

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

The topic ‘Code visible in Header’ is closed to new replies.

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

## Tags

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

 * 8 replies
 * 3 participants
 * Last reply from: [CyberChimps](https://wordpress.org/support/users/cyberchimps/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/code-visible-in-header/#post-16606854)
 * Status: not resolved