Guest User

Untitled

a guest
Sep 19th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if(s_loginstatus)
  2.     s.prop10=s.eVar10=s_loginstatus;
  3.  
  4.  
  5.  /*********************
  6.     Internal search terms must be set to s_searchterm and number of results returned to s_searchresults.  If these values are set,
  7.     this code will place in the proper Omniture variables and set the internal search event.
  8.     *********************/
  9.    
  10.     if (s_searchterm)
  11.        s.prop4 = s_searchterm;
  12.     var t_search = '';
  13.     if (s.prop4) {
  14.         s.prop4 = s.eVar4 = s.prop4.toLowerCase();
  15.        t_search = s.getValOnce(s.eVar4, 's_eVar4', 0);
  16.        }
  17.      if(s_searchresults)
  18.      s.prop5=s_searchresults.toLowerCase();
  19.      s.eVar5="D=c5";
  20.  
  21.    if (t_search) {
  22.         s.events = s.apl(s.events, "event1", ",", 0);
  23.   }
Add Comment
Please, Sign In to add comment