Closed
Description
Preconditions (*)
- Magento 2.4.0
- Magento_Csp installed / enabled
- Magento_GoogleAnalytics installed / enabled
Steps to reproduce (*)
- In admin store configuration, go to Sales / Google API > Google Analytics. Set Enabled = Yes and enter an Account Number.
- Flush all caches and load a page on the store front (such as the home page).
Expected result (*)
- There are no console errors / failed assets or requests due to CSP violations.
Actual result (*)
- There is a console error regarding a CSP violation for an XHR request to https://www.google-analytics.com/j/collect. If CSP is in report-only mode, it's just a console error. If CSP is actually enforced, the XHR request is not executed.
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.The issue has been reproduced on latest 2.4-develop branchMajor restrictions or short-term circumventions are required until a fix is available.
Type
Projects
Status
Done