Shoora
3/31/2019 - 5:14 PM

Function Goal Yandex Metrika

Function Goal Yandex Metrika

		// Function Goal Yandex Metrika
		function checkGoal(nameGoal){
			setTimeout(function(){
				var id = Ya.Metrika.counters()[0].id;
				window['yaCounter'+ id].reachGoal(nameGoal);
				// console.log(id);
			}, 100)
		}