Type: Feature Request
Affects Version/s: None
Fix Version/s: None
Google Tag Manager (GTM) is a commonly used tool and can be integrated with Liferay although for full capabilities our guide states that GTM needs to be used in conjunction with a theme.
Please see Option 2 in the Advanced Site Settings link. With this guide we can manually create a field at this location: Site > Configuration > Site Settings > Advanced > Analytics (dropdown) > "Gtm (manually created field)"
This newly created field will accept GTM code which is to be placed into the <head> tags. BUT if we check the Google quickstart link we find that additional code is required to be placed inside the <body> tags. Liferay's guide says that developers should place any required integration code directly inside a theme, this itself can present a challenge if:
A.) the client does not use a theme
B.) the client does not have the development knowhow to achieve this
To enhance the Liferay UI to be able to fully and safely integrate GTM with all of its functionality without the use of a theme. This would mean having the ability to enter <body> code within the UI and any other related components that are usually incorporated within a theme.