Show Menu
TOPICS×

s_objectID

The variable is a global variable that should be set in the onClick event of a link.
By creating a unique object ID for a link or link location on a page, you can either improve visitor activity tracking or use Activity Map to report on a link type or location, rather than the link URL.
A trailing semicolon (;) is required when using s_objectID with Activity Map .
Max Size
Debugger Parameter
Reports Populated
Default Value
100 Bytes
OID
Activity Map, ClickMap
The Absolute URL of a Clicked Link
There are three common reasons to use s_objectID :
  • To aggregate visitor activity that changes often during a day.
  • To separate link activity that Activity Map combines.
  • To improve the accuracy of Activity Map data reporting.
Aggregate Clicks on Highly Dynamic Links
If your site is highly dynamic, and links on some pages change throughout the day, s_objectID may used to identify the location of a link on the page. If s_objectID is set to "top left 1" or "top left 2," which represents the first link in the top left of the page for example, then all links that appear in that location (or that have s_objectID set to the same value) are reported together with visitor click map. If you don't use s_objectID , you see the number of times that a specific link was clicked, but you lose insight into how all the other links in that location were used by visitors to your site.
Separate Clicks Combined
If the pageName variable on your site is used to show the section or template a visitor is viewing, rather than the specific page the visitor is viewing, you may want to use s_objectID to separate links that appear on multiple versions of that page template. For example, if you have a template page for all products on your site, it is likely that there is a link to your home page and to a search box from that template on all pages. If you want to see how those links are used on an individual product basis (rather than a template basis), you can populate s_objectID with a product specific value such as "prod 123789 home page" or "prod 123789 search." Once completed, Activity Map reports on those links at an individual product basis.
Improve Activity Map Accuracy
In some cases, browsers other than Internet Explorer, Firefox, Netscape, Opera, and Safari are not reported. Although this is a small percentage, it accounts for some clicks and other metrics. Use s_objectID within links to uniquely identify the addresses the browser reporting issue. The following is an example of how to update your links to use s_objectID :
<a href="/art.jsp?id=559" onClick="s_objectID='top left 1';">Article 559</a> 
<a href="/home.jsp" onClick="s_objectID='prod 123789 home page';">Home</a> 


Syntax and Possible Values
s_objectID may contain any text identifier.
s_objectID="unique_id" 


There are no limitations on s_objectID outside of the standard variable limitations.
Examples
s_objectID="top left 2" 


s_objectID="prod 123789 search"

Configuration Settings
None