활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi,
This issue is regarding to s.tl() function of sitecatalyst. When I use s.tl() function and direct to different page, NS_BINDING_ABORTED error will occur on Omniture request.
Please see the below code.
<script type="text/javascript">
function trackLink(obj) {
s.forcedLinkTrackingTimeout = 3000;
s.linkTrackVars='eVar14,events';
s.linkTrackEvents='event15';
s.eVar14="SSR_OK";
s.events="event15";
s.tl(obj,'o','SSR_OK',null,'navigate');
}
function trackLinkError(obj) {
s.linkTrackVars='eVar14,events';
s.linkTrackEvents='event15';
s.eVar14="SSR_ERROR";
s.events="event15";
s.tl(obj,'o','SSR_ERROR');
}
</script>
<a id="link1" href="2.html" onclick="trackLink(this); return false;">Continue</a><br/>
<a id="link2" href="2.html" onclick="trackLinkError(this);">Continue with error</a>
I used two links (link1, link2) to directed to 2.html. When using link2, NS_BINDING_ABORTED error will occur on Omniture request. But according to link2, I used a delay using s.forcedLinkTrackingTimeout property and the Omniture request has been sent as expected without an error. But the problem is, if we define this delay how to define it and also it is not a good practice to use a defined delay on a commercial application.
Can anyone consult on this to resolve this issue.
--
Thanks
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Hi,
I will advise you to look at this example : http://microsite.omniture.com/t2/help/en_US/sc/implement/index.html#Using_Function_Calls_with_Custom...
I believe that with H.25 code and above a timeout is built in in the code and you should not have to specify s.forcedLinkTrackingTimeout = 3000;
It should by default wait 500ms for the image request to be sent.
Just put the following :
function trackLinkError(obj) {
s.linkTrackVars='eVar14,events';
s.linkTrackEvents='event15';
s.eVar14="SSR_ERROR";
s.events="event15";
s.tl(obj,'o','SSR_ERROR',null,'navigate');
}
And it should work
Best regards.
Alexis
조회 수
답글
좋아요 수
Hi Manoj,
I hope this will help you, otherwise please ignore.
You need to check the Forced link tracking is enabled. otherwise please use below:
useForcedLinkTracking:
This flag is used to disable forced link tracking for some browsers. Forced link tracking is enabled by default for FireFox 20+ and WebKit browsers.
Default Value
true
Example
Related to this issue some explanation below:
forcedLinkTrackingTimeout :
The maximum number of milliseconds to wait for tracking to finish before performing the doneAction that was passed into s.tl . This value specifies the maximum wait time. If the track link call completes before this timeout, the doneAction is executed immediately. If you notice that track link calls are not completing, you might need to increase this timeout.
Default Value
250
Example
Thanks,
Anbu
조회 수
답글
좋아요 수
Hi,
I will advise you to look at this example : http://microsite.omniture.com/t2/help/en_US/sc/implement/index.html#Using_Function_Calls_with_Custom...
I believe that with H.25 code and above a timeout is built in in the code and you should not have to specify s.forcedLinkTrackingTimeout = 3000;
It should by default wait 500ms for the image request to be sent.
Just put the following :
function trackLinkError(obj) {
s.linkTrackVars='eVar14,events';
s.linkTrackEvents='event15';
s.eVar14="SSR_ERROR";
s.events="event15";
s.tl(obj,'o','SSR_ERROR',null,'navigate');
}
And it should work
Best regards.
Alexis
조회 수
답글
좋아요 수