Supported aggregator tags
The portal supports the aggregator tags listed in the following for Active Site Analytics.
Page BreadcrumbThis is the ObjectID for the breadcrumb of the current page. Tag it as asa.page.breadcrumb. It contains the path to the page within the hierarchical tree of pages. The path is made of the names of the pages, separated by a forward slash character.
Page IDThis is the ObjectID of the page. Tag it as asa.page.id. It is injected into the theme.
Page TitleThis is the title of the page in the portal default language. Tag it as asa.page.title. It is injected into the theme.
Friendly URLThis is the URL of the current page without navigational state. Tag it as asa.url. It is injected into the theme. This element will be empty if no friendly URL is set for the page.
Visitor IDThis is the object ID of the user who currently logged in. If the user is anonymous, this remains empty. Tag it as asa.visitor. It is injected into the theme.
Portlet Window TitleThis is the title of the portlet as it is delivered to the client. Tag it as asa.portlet.title. It is injected into the skin.
Portlet Window IDThis is the unique identifier of the portlet. Tag it as asa.portlet.id. It is published to the Dojo topic queue by the topic name com.ibm.portal.theme.portlet_ready.
Portlet Screen IDThis is the unique identifier of the screen or view that is displayed in a portlet. Tag it as asa.wcm.content_item.path. It is injected into the custom portlet.
Portlet Screen TitleThis is the localized title of the screen or view that is displayed in a portlet. Tag it as asa.wcm.content_item.title. It is injected into the custom portlet.
Portlet Screen IDThis is the unique identifier of the screen or view that is displayed in a portlet. Tag it as asa.portlet.screen.id . It is injected into the custom portlet by the portlet developer.
Portlet Screen TitleThis is the localized title of the screen or view that is displayed in a portlet. Tag it as asa.portlet.screen.title . It is injected into the custom portlet by the portlet developer.
Web Content Manager Content QuerystringThis is the unique identifier of the Web Content Manager content item that is displayed in a portlet. Tag it as asa.wcm.content_item.path. It is injected into the Web Content Manager Rendering portlet.
Web Content Manager Content TitleThis is the title of the of the Web Content Manager content item that is displayed in the Web Content Manager Rendering portlet. This must not be identical to the portlet window title. Tag it as asa.wcm.content_item.title. It is injected into the Web Content Manager Rendering portlet.
Search termThis the search term. Tag it as query . It is published to the Dojo topic queue by the topic name com.ibm.portal.search.RESULTS_ANALYTICS. A sample aggregator which subscribes to search results: dojo.subscribe("com.ibm.portal.search.RESULTS_ANALYTICS", function(e){ console.log( "search term was '" + e.query + "' with " + e.results + " results in scope '" + e.scope.label + "' (" + e.scope.id + ")" ); });
Number of search resultsThis the number value of the search results. Tag it as results. It is published to the Dojo topic queue by the topic name com.ibm.portal.search.RESULTS_ANALYTICS.
Search Scope IDThis is the search scope ID. Tag it as scope.id. It is published to the Dojo topic queue by the topic name com.ibm.portal.search.RESULTS_ANALYTICS.
Search Scope LabelThis is the search scope label. Tag it as scope.label. It is published to the Dojo topic queue by the topic name com.ibm.portal.search.RESULTS_ANALYTICS.
In the Page Builder theme, the file skin.html has the following tag coded in it:<span style="display:none" class="asa.portlet.id"></span>Initially the value of the ID is left blank. When the file skin.html is parsed during a portal page load, the code in skin.js, which is located in the same location as skin.html, dynamically fills in the ID of the portlet.
After filling in the ID, the code in skin.js publishes an event to the Dojo topic "com.ibm.portal.theme.portlet_ready". In order to capture these dynamically inserted values, a listener for that topic must be registered before starting to parse for the portlet IDs. An example is provided in the sample aggregator asa_sample.js that is part of the Page Builder theme.
Parent
Writing an aggregator for Active Site Analytics
Submitted by Stefan Hepper on Sep 30, 2010 11:45:02 AM Supported aggregator tags: wp7
This list seems to be missing some supported tags...