Some of the links that differ in query strings are being stripped out by default during data processing, hence I applied s_objectID to rotating banners on home.
The banners are populating dynamically. We want to track which banner is more effective, however the code is not working. Can you please help?
Here is the code:
onclick="s_objectID={link_url}"
I applied on a href
<a href="{link_url}" onclick="s_objectID={link_url}" {target}>{alt_text}</a>
Solved! Go to Solution.
Views
Replies
Total Likes
Aha - linkLeaveQueryString will probably help here.
http://microsite.omniture.com/t2/help/en_US/sc/implement/linkLeaveQueryString.html
When you set that to true, query strings will no longer be stripped from image requests.
Views
Replies
Total Likes
Implementation and code questions such as this are most effectively answered if there's a test page we can look at, and see the code running. Would it possible to see the code you're running in action?
Views
Replies
Total Likes
Thank you Gigazelle so much for your reply.
The code is on http://www.toshiba.com/us/ homepage.
Its on rotating banner. If you right click and view source you will find s_objectID implemented. It works fine on hard coded links but its creating a issue on rotating banners, not sure why. I would appreciate your help.
I applied s_objectID on 3 other links other than rotating banners and it works fine.
Thank you once again.
Views
Replies
Total Likes
Aha - linkLeaveQueryString will probably help here.
http://microsite.omniture.com/t2/help/en_US/sc/implement/linkLeaveQueryString.html
When you set that to true, query strings will no longer be stripped from image requests.
Views
Replies
Total Likes