Log in
Model

ReportUrlProvider

Magento\Analytics\Model\ReportUrlProvider

What it does

This class provides the URL for accessing Magento Advanced Reporting.

It generates either an authenticated URL with a one-time password (OTP) to view reports if the merchant is subscribed, or returns a documentation URL if they haven't set up analytics yet.

Developers would use this when building UI components that need to link users to their Advanced Reporting dashboard.

Public Methods

  • getUrl()