I need to add custom meta tags to a Hybris site, yet I can't find anything in HMC (the site is based on version 6.5) or Backoffice. Is there any way to do it on live site without changes to the code or are code changes necessary for this?
Is there any way to do it on live site without changes to the code or are code changes necessary for this?
As per my knowledge, there is no way to add custom meta-type without changing the code. You can only add meta keywords and meta description through back-office.
For <meta http-equiv="abcd" content="1234"/>
, you can add it to master.tag
and for <meta name="my-custom-tag" content="my-custom-value"/>
you can again hardcode in master.tag or get it populated from some item type by changing server side code.
Refer createMetaElement method of AbstractPageController, UiExperienceMetadataViewHandler and this answer