Metadata: what should I put in the Custom Head Html? | Community
Skip to main content
Cecile_Maindron
Level 10
June 12, 2013
Question

Metadata: what should I put in the Custom Head Html?

  • June 12, 2013
  • 2 replies
  • 3660 views
Hi,

I'm trying to figure out what should I put in the Custome Head Html and which consequences/benefits this will bring me?


Cécile @ Talend
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

June 12, 2013
The landing page editors places any code added in the Custome Head HTML within the head section.
 
Elements inside < h e a d > can include scripts, instruct the browser where to find style sheets, provide meta information such as viewport meta tag for mobile devices among other uses.
 
One frequent use is JavaScripts to set defaults for form fields or change page elements.

From the practical standpoint it is like the HTML box in the landing opage editor, just placing the code before the main section.
 
Eric_Salamon1
Level 6
February 6, 2017

Does this mean if we need to put the link to a specific CSS we can put it there?

SanfordWhiteman
Level 10
February 6, 2017

You should open new threads instead, as it helps later users of the Community. (Threads can only be tagged Correct by the OP.)

The answer is: it depends. Custom Head HTML is not a frequently visited/visible area, so it's easy to lose track of special stuff you put in there. I would concentrate on adding to templates for consistency, to HTML blocks for visibility/manageability, and Custom HEAD only as a last resort.

June 13, 2013
Most of the time, the editor would be sufficient but it there's some unsupported style or if you want to add some script code to the page, you'll be able to put your custom css and javascript there.

My answer in the following Discussion shows an example of making shading background.
http://community.marketo.com/MarketoDiscussionDetail?id=90650000000PcpWAAS