Expand my Community achievements bar.

SOLVED

Link Tracking issue with Safari

Avatar

Level 2

I am facing an issue in link tracking.

 

Issue:

   I have a link when user click on it, it will redirect to another page. for redirecting i am using call back function in s.tl. In safari i am not seeing HTTP 200 for the omniture call and loosing the tracking. If any help to resolve this would be appreciated. 

var s_code = s.tl(true, linkType, linkName, nullfunction () { document.location = href; });

 

Thanks,

Mahesh

1 Accepted Solution

Avatar

Correct answer by
Employee

Try changing the first parameter from 'true' to 'this'

var s_code = s.tl(this, linkType, linkName, nullfunction () { document.location = href; });

Passing 'true' disables the (up to) 500 ms delay that helps make sure your image request goes through. More info here: http://microsite.omniture.com/t2/help/en_US/sc/implement/function_tl.html

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Try changing the first parameter from 'true' to 'this'

var s_code = s.tl(this, linkType, linkName, nullfunction () { document.location = href; });

Passing 'true' disables the (up to) 500 ms delay that helps make sure your image request goes through. More info here: http://microsite.omniture.com/t2/help/en_US/sc/implement/function_tl.html