Unknown Tags in <Head>

Hi, I’ve inherited a website from a previous developer. I have script tags in the <head> and I don’t know how or where they are being injected?

Can anyone point me to where I might find them? I cannot find them in the Design Manager

Hi @LBernardo86. What you’re mentioning is should be from standard_header_includes HubL variables. This is required for HubSpot CMS Hub tempalets, inserts automatically tracking code, meta tags, link tags, script tags, and so on. The document about standard_header_includes is here: HubL variables - HubSpot docs

Script tags that will be inserted is generally from these:

  • JavaScript code on Custom Modules(①)
  • JavaScript file in Design Manger referenced by Custom Module(②)
  • Codes in templates with require_js HubL tag.

Hi @LBernardo86. What you’re mentioning is shoud be from standard_header_includes HubL variables. This is required in HubSpot CMS Hub tempaltes, and inserts automatically title tag, meta tags, link tags, script tags, and so on. The document about standard_header_includes is here: HubL variables - HubSpot docs

Script tags that will be inserted is generally like these:

  • JavaScript code in Custom Modules (1)
  • JavaScript file in Design Manager, referenced by Custom Modules (2)
  • JavaScript codes in templates with require_js HubL tag.