Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to insert custom code in html head tag

sungl
Level 1
Level 1

In Launch, I setup Rules to have a custom HTML code which needs to be in HTML <head> element.

When I publish it, I can see the custom HTML code is added at the bottom of the HTML output right before closing </body> tag. How can I configure this to be inside <head> ... </head> section?

 

Thanks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution
yuhuisg
Correct answer by
Community Advisor
Community Advisor

In general, you can't – or rather, shouldn't – add code to <head> through a tag management system. Such code should be added directly to the page's HTML, i.e. with dev support.

What are you trying to insert into the <head>?

View solution in original post

0 Replies
yuhuisg
Correct answer by
Community Advisor
Community Advisor

In general, you can't – or rather, shouldn't – add code to <head> through a tag management system. Such code should be added directly to the page's HTML, i.e. with dev support.

What are you trying to insert into the <head>?

View solution in original post

sungl
Level 1
Level 1
I was trying to add a third party tracking code which needs to be in the head section using Launch. Isn't it possible?