tmc_angel

Metrica AB test

May 21st, 2019
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. setTimeout(function () {
  3.     var res = "no",
  4.     experrtoRootEl = document.getElementById('xrtg__rootElem').innerHTML === '';
  5.    
  6.     if (experrtoRootEl) {
  7.         res = "yes";
  8.     }
  9.     window.yaParams = {
  10.         ab_test: res
  11.     }; 
  12.     ym(33352743, "params", window.yaParams || {});
  13.    
  14. }, 1000 * 10);
  15. </script>
RAW Paste Data