-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.10 DXP FP20, 7.1.X, 7.2.10 DXP FP9, 7.2.X, 7.3.X, Master
-
Fix Version/s: 7.0.0 DXP FP98, 7.0.X, 7.1.10 DXP FP23, 7.1.10.6 SP6, 7.1.X, 7.2.10 DXP FP12, 7.2.X, 7.3.7 CE GA8, 7.3.10 DXP FP2, 7.3.X, 7.4.0 CE GA1, 7.4.13 DXP GA1, Master
-
Component/s: Analytics, JS APIs and Utilities > Frontend JS Web API
-
Branch Version/s:7.3.x, 7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Due to some escaping code added in https://issues.liferay.com/browse/LPS-123822 it is no longer possible to add an analytics script to a page.
Steps to reproduce.
1. Login as admin
2. Go to Site-> Configuration-> Settings-> Advanced ->ANALYTICS
3. Find the Piwik configuration and add this javascript:
<script> console.log("piwik")</script>
4. Save and visit the home page
Expected Result:
When visiting the home page, the Javascript console contains a log entry "piwik"
Actual Result:
The code "<script> console.log("piwik")</script>" is shown at the top of the page
- is related to
-
LPS-127652 Piwik inserted into wrong location on page
- Open
- mentioned in
-
Page Loading...