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

Piwik inserted into wrong location on page

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, 7.1.X, 7.2.X, 7.3.X, Master
    • Fix Version/s: None
    • Component/s: Analytics
    • Labels:
      None

      Description

      1. Site > Configuration > Settings > Advanced > Analytics
      2. Find the Piwik configuration and add this javascript:
        <script> console.log("piwik")</script>
      3. Go to http://localhost:8080/web/guest/home and view the page's source
      4. Locate your Piwik script in the page's HTML source

      Result
      The script is inserted into the <HEAD> section of the page

      Expected Result
      As per Piwik's documentation, the script should be inserted at the bottom of the page (i.e., right before the </BODY> tag.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              samuel.kong Samuel Kong
              Participants of an Issue:
              Recent user:
              Tobias Tiederle
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                1 year, 10 weeks, 5 days ago

                  Packages

                  Version Package