My Code is Disappearing When I Place it in the Head Section

This is very common with pixel tracking codes. The head section (<head>) does not accept any code that is <img>, <iframe>, and more. It normally only takes <link>, <script> and <meta>.

Solution


If you have to paste code that's not being saved in the head section, paste it in the header or in the body-end.html. To do so, follow these steps:

Placing code in the header:

  1. Open the editor.
  2. Go to Settings.
  3. Select Header HTML.
  4. Paste your code and click Save.

Placing code in the body-end.html:

  1. Open the editor.
  2. Open Developer Mode from the navigation bar.
  3. Select Site HTML/CSS.
  4. Select body-end.html
  5. Past your code into the last line.
  6. Click Save.
Was this article helpful?
0 out of 0 found this helpful

Feedback on this article

0 comments

Please sign in to leave a comment.

×

Please Log in as a Pro

Priority Phone Support is available exclusively to Pros. Log in to your Pro account now to see our international support numbers.

Log In
Not a Pro? Purchase a Pro plan!