Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-100601

Improve Liferay UI for simpler Google Tag Manager Integration


    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WCM > Analytics
    • Labels:


      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

      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 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.




            • Assignee:
              pablo.agulla Pablo Agulla
              philip.chapman Philip Chapman
            • Votes:
              1 Vote for this issue
              3 Start watching this issue


              • Created:


                Version Package