Last active
November 2, 2020 02:40
-
-
Save andxbes/7d13a28b4b64cf2ae642622a3c7d3f89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function reachYandexGoal(goal){ | |
try{ | |
ym(9999999, 'reachGoal', goal); //new | |
//yaCounter9999999.reachGoal(goal); //old | |
}catch(ex){ | |
console.error("Счетчик не найден. \n" + ex); | |
} | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment