javascript - Calling s.tl throws a TypeError -
i'm having problem omniture happens if set s.products akin
s.products = ";101;;;;evar33=mystatus";
unfortunately when script later calls s.tl
, crashes. error has following description in firefox:
typeerror: tl not function
when put in product usual, product s.tl
works:
s.products = ";101";
anyone knows why script may crash this? missing something?
well you're going have provide more context. more code, link issue is, something. tried following test code:
<a href='#' onclick="s_dlt(this);">click</a> <script language="javascript" type="text/javascript" src="omniture.js"></script> <script language="javascript" type="text/javascript"><!-- function s_dlt(that) { var s=s_gi(s_account); s.linktrackvars='products'; s.products = ";101;;;;evar33=mystatus"; s.tl(that,'d','some name'); } /************* not alter below line ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script>
and see products being sent in request fine, no .js errors or nothin'.
Comments
Post a Comment