• 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, Anders

    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’ : ‘https://www’) + ‘.google-analytics.com/ga.js’; var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s); })();

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    <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’ : ‘https://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

    (@andersjj1980)

    Thank you very much.

    Where in the theme dashboard do I insert the code?

    Best regards
    Anders

    Hi there,

    Thanks for you reaching out.

    You can insert the provided code using the below steps:
    1) Dashboard -> Appearance -> Customize
    2) Header -> Scripts
    3) 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

    (@andersjj1980)

    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

    (@andersjj1980)

    Please help with this. It is the theme producing that code somehow.

    Best regards

    Hello there,

    Could you please raise a ticket on the CyberChimps support forum by contacting ‘[email protected]’ with detailed information and screenshots?

    It will help us to resolve the issue on priority and give you the best possible solution.

    Thread Starter andersjj1980

    (@andersjj1980)

    I did this, but have not recieved an answer yet. Best regards, Anders

    Theme Author CyberChimps

    (@cyberchimps)

    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.