Open bratva opened 6 years ago
Well, ym is written with fire-and-forget use case in mind, so apparently it won't work. I would suggest two possible solutions:
getClientID
, then just use window['yaCounterXXXXXX'].getClientID()
, it's there;ym
could probably rely on triggerEvent
parameter and return a promise.
Hello.
Yandex Metrika has method
getClientID
. This method return some value.But i can't take this value in ym:
https://yandex.ru/support/metrika/objects/get-client-id.html