s_objectID | Community
Skip to main content
October 16, 2015
Solved

s_objectID

  • October 16, 2015
  • 3 replies
  • 1123 views

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>
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

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.

3 replies

Gigazelle
Adobe Employee
Adobe Employee
October 16, 2015

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?

October 16, 2015

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.

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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.