A
A
Alexander Gess2016-04-27 17:55:22
PHP
Alexander Gess, 2016-04-27 17:55:22

How can I install the Yandex Metrica widget in the site admin panel?

The essence of the issue is set out in the "essence", and if in more detail the customer wants the original widget of the metrics of attendance of his site in the admin panel of his site.

Can the original be used? Are there suitable solutions?
70010262614a43118dc7b0917d835911.png

ps for some reason, it seems to me a widget with an API-key request, with pulling out data and a modest view - not for "5 minutes of work."

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2016-04-28
@byte916

The original widget cannot be used.
There is only one obvious solution - to use api and try to simulate a graph. Five minutes of work will not work.
As an option, you can try to dig deeper into the widget that Yandex itself provides. For example, here's what I got:

https://old.metrika.yandex.ru/widget/summary/?locale=ru&frommorda=1
&wauth=<i>*тут что-то похожее на токен авторизации*</i>&counter_id=<i>*номер счетчика*</i>
&filter=15days&group=day&.=https%3A%2F%2Fwww.yandex.ru%7Cyandex.ru&widgetBg=light
&widgetText=999&widgetLink=000&widgetHover=ff0000&widgetDecor=1&rnd=0.9962689500274415

This can be put in an iframe for example.
Using this link, I get a picture 736c543e6514404db42a08998ecb563c.png
. Economy option - give a direct link to the metric from your personal account (and persuade the customer that this is better / easier / cheaper), or offer the customer to use a browser add-on.
Perhaps this information will help.

E
Eugene, 2016-04-28
@n1ger

Already answered this here. How to display a graph
How to display visits/views statistics from Yandex.Metrica as a graph?
How to display Yandex Metrica statistics on the site?
It turns out something like this
3d4868b9758a4bd78c7aca335c820545.JPG

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question