HubMir

Yandex Metrica integration for traffic and goal reports

Analyze visits, audience data and Yandex Metrica goals for your website counter.

Website traffic and goal analytics

Review traffic, sources and goals alongside site data.

Counter statistics, pages and goal completions

Review traffic, sources and goals alongside site data.

Yandex Metrica
Real HubMir interface with demo data. Select to take a closer look.

Visitors, visits and page views

Use the summary and chart to review traffic over the week.

Choose a report period
Traffic · 7 days
Visits210
Visitors181
Pageviews396
Visits over 7 daysvisits
50250
12131415161718
Workflow illustration with demo data.

Sources and pages

See how search, advertising and direct visits contribute to your traffic.

Compare visit sources
Traffic sources
SourceVisits
Search135
Direct52
Advertising23
Workflow illustration with demo data.

Goals from an accessible counter

The report includes goals from the selected counter, such as enquiries and useful actions.

Review website goals
Metrica goals
GoalCompletions
Enquiry submitted8
Phone number clicked12
Workflow illustration with demo data.

What the data looks like

An illustrative report. Available data depends on the source and permissions.

Visits by day

Visits

  • Mon 289
  • Tue 318
  • Wed 344
  • Thu 427
  • Fri 398
  • Sat 336
  • Sun 306
Visits
Visits in the selected period.
Page views
Page views for the selected counter.
Visitors
Unique users within the report period; daily unique counts cannot be added.

Yandex Metrica report: visits, sources and goals

Choose a counter and explore your website’s visits, sources and goals.

HubMir Cosmos
Yandex Metrica
Guest accessPersonal OAuth
Yandex Metrica
OAuth token
••••••••••••••••

How to connect Yandex Metrica

Before you start

Use a metrika:read token from an account with counter access; HubMir reads data.

  • OAuth token
  • Metrica counter
  • Linked site

Guest access

  1. Open the connection in HubMir, choose guest access and copy the login shown there.

  2. Open Access → Add user in the counter settings. Grant the HubMir login view-only access.

  3. If HubMir requests site verification, choose DNS TXT or an HTML file, get the details, then add the DNS record or upload the file to the site root.

  4. Choose the website in HubMir and select Check connection.

  5. If several counters are found, choose the website counter and complete the connection check.

Personal OAuth

  1. Use a Yandex account that can access the intended Metrica counter. If another person owns it, ask them to grant your account View only access.

    Yandex YARD: Add user in counter access settings.
    Yandex YARD: Add user in counter access settings. · Image source: provider
  2. Open Yandex OAuth → Create application → API access or debugging. Name the app HubMir. Under data access select metrika:read to read statistics and counter settings, then create the app.

  3. Copy the app ClientID. Expand Build the link from ClientID in the HubMir form, paste it, open the link and authorize access. Copy the issued OAuth token.

  4. Paste the token into the HubMir connection field and choose Verify and save access.

  5. Choose an available counter. Add a website from its URL or select an existing project website, then choose Connect selected resource.

Connect Yandex Metrica through MCP

Metrica reports through a Yandex MCP Hub template.

The connection uses your own provider account, subscription and quotas and belongs to the selected project.

All MCP services
  1. Open this service connection in the AI center for your selected project.

  2. Create this service’s official template in your Yandex MCP Hub and enter its HTTPS URL. Use a service-account API key scoped to yc.serverless.mcpGateways.invoke with invoker/anonymousInvoker roles. Configure service data access in the template. Only read tools with readOnlyHint are admitted.

  3. Use the authorization method shown in the service form.

  4. Retrieve the tool list and explicitly approve the read tools you need.

  5. Choose a command, fill in its parameters and save the response in your project.

Repeat saved requests manually or on a schedule where the service permits it.

Read access requires explicit approval. Credentials are encrypted and access can be revoked. MCP does not automatically grant permission to modify data.

Open your project
Connect