In WebsiteBuilders, how to I add a script between the head and /head tags?

  • 0
  • 1
  • Question
  • Updated 9 months ago
  • In Progress
  • (Edited)
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: 7 days of inactivity

I am trying to add my site to my Google Adsense account and in order to do so, I must place script code between the <head> and </head> tags.  I am unable to find how to do this in WebsiteBuilder (not SiteBuilder).

Photo of OBprint

OBprint

  • 164 Points 100 badge 2x thumb

Posted 9 months ago

  • 0
  • 1
Photo of Michelle C

Michelle C, Employee

  • 34,962 Points 20k badge 2x thumb
Hello,

You can place the code in the advanced settings. From the tool bar on the left select manage then advanced and paste the code into the site HTML box. 

Photo of OBprint

OBprint

  • 164 Points 100 badge 2x thumb
If you read the description, it says that the code will be added to the BODY element.  I need to place the code in the HEAD element.
Photo of Michelle C

Michelle C, Employee

  • 34,962 Points 20k badge 2x thumb
You can place that code into the site footer HTML and google will be able to locate it the same as if it was a HEAD element.  
Photo of OBprint

OBprint

  • 164 Points 100 badge 2x thumb
Right...I got that.  So to answer my question...there is no way for me to add script or other non-meta or non-link code into the HEAD element using WebsiteBuilder correct?
Photo of Michelle C

Michelle C, Employee

  • 34,962 Points 20k badge 2x thumb
The footer will read information as head script also but there is not a specific field for only HEAD hmtl.  

This conversation is no longer open for comments or replies.