Add custom meta tag on html head

What is the problem you are trying to solve?

We need to add custom meta tags for analytics or other tools directly into the HTML <head>. We want to avoid appending them via JavaScript or using lf-theme.

What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)

Client public portal

What is your proposed solution? (optional)

Using a specific CX or a property within a specific page.

Hi @vmosuna !

Depending on your specific use case and Liferay version, you can configure custom meta tags in the Page Settings.

To configure a specific page, open the Site Menu and go to Site BuilderPages. Then click Actions () for the page you want to customize and select Configure.

There you can set custom Meta Tags.

Here is the link to the documentation for your reference as well: Page Settings UI Reference - Liferay Official Documentation - Liferay Learn

Hope this helps!

Hello @Allison_McGill,

Sorry, we described the proposed solution as applying to a specific page, which was incorrect. We need it to be applied globally, not just on one page.

Thanks for you reply!