-
Type:
Feature Request
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Related Links
Google: https://developers.google.com/tag-manager/quickstart
Liferay: https://help.liferay.com/hc/en-us/articles/360017892572-Advanced-Site-Settings?source=search#analytics
Outline
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.
Current Behaviour
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
Request
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.