Skip to content

Blocking Google Analytics prevents Checkout #12428

Closed
@emmathepossum

Description

@emmathepossum

Preconditions

  1. Magento 2.2.1
  2. PHP 7.0.25-1~dotdeb+8.1
  3. mysql Ver 15.1 Distrib 10.0.32-MariaDB
  4. uBlock Origin 1.14.18 on client

Steps to reproduce

  1. Enable Google Analytics in Stores > Settings > Configuration > Sales >Google API
  2. Install uBlock Origin on client, or block Google Analytics in any other AdBlocker
  3. Go to Checkout

Expected result

  1. Checkout is working

Actual result

  1. Checkout is loading infinitely

The rest of the site works fine. Apparantly the checkout just cannot handle any errors and will stop functioning immediately.

GET http://example.com/pub/static/frontend/Magento/luma/en_US/Magento_GoogleAnalytics/js/google-analytics.js net::ERR_BLOCKED_BY_CLIENT

Metadata

Metadata

Assignees

Labels

Issue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasegood first issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions