Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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