I try to add the google tag script in configuration > design > script but when I do this, the header of the front end show a white line. This line isn't showed when there isn't the google script. It means that I added the script in the wrong section?

enter image description here

<script type="text/javascript">/* <![CDATA[ */var google_conversion_id =AAAAAAAAA;var google_custom_params = window.google_tag_params;var google_remarketing_only = true;/* ]]> */</script><script type="text/javascript" src="//www.AAAAAAA.com/AAAA/AAAAA.js"></script><noscript><div style="display:inline;"><img height="1" width="1" style="border-style:none;" alt="" src="//AAAAAAAAAAAAAAA"/></div></noscript>
  • Please update your question with the code (no specific user/tracking id's) you're trying to insert. Mar 16, 2016 at 14:42

1 Answer 1


Add this code to the

Configuration->Design->Footer->Miscellaneous HTML

It should not be in the HTML head section. If you need to load it first, then you need to adjust template files far example at:


  • I also added the script to the footer > miscellaneous HTML, but the white line still exists.
    – stsnow
    Mar 18, 2016 at 11:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.