Skip to main content
Oct 16, 2015 2:26 AM UTC
Solved

s_objectID

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.
Gigazelle
GigazelleAccepted solution
Adobe Employee
Oct 16, 2015 2:26 AM UTC

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
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:26 AM UTC

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.

Translate
Oct 16, 2015 2:26 AM UTC

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.

Translate
Gigazelle
Adobe Employee
Adobe Employee
Oct 16, 2015 2:26 AM UTC

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?

Translate