Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
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