• Resolved andersjj1980

    (@andersjj1980)


    This cose 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. 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 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Thanks for reaching out.

    It appears that you have a child theme enabled on your website, which is maybe why the mentioned code is visible.

    It is outside of our scope to modify a child theme.

    Contact us at any time if you have questions.

    Best Regards

    Thread Starter andersjj1980

    (@andersjj1980)

    Dear Tejas
    I changes it to the Responsive Theme, but as you can see, the code is still there! Please help me resolve this issue.
    Best regards
    Anders

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Analytics appears as header on website’ is closed to new replies.