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.
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 Builder → Pages. Then click Actions () for the page you want to customize and select Configure.
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.