The smart alternative to the standard SAP Portal Activity Report (PAR) and Activity Data Collector (ADC) for tracking your portal statistics.
Click Stream - the simple, yet powerful plug-in analytical app designed by SAP Portal experts - specifically for, and living exclusively in, the SAP NetWeaver Portal
<attribute name="country"/>Please also add the attributeMapping to your LDAP as below. The default name for 2-Letter ISO country code is c or countryCode. Example A:
<attribute name="country"> <physicalAttribute name="c" /> </attribute>Example B:
<attribute name="country"> <physicalAttribute name="countryCode" /> </attribute>Please note that your company LDAP / MS ADS attribute could have a different attribute name than the default one. Please find some information and details here on how to map your LDAP with the SAP Portal UME:
<attribute name="state"/>Please also add the attributeMapping to your LDAP as below. The default name for the state information is st.
<attribute name="state"> <physicalAttribute name="st" /> </attribute>Please contact support@sweetlets.com for any additional help.
recordExternalContent(<name of target>, <url of target>, <custom parameter>, <category>);The parameters <name of target>, <custom parameter> and <category> are arbitrary. <url of target> should be the direct link to the recorded content. See the FAQ about parameter usage
<a href="http://news.company.com/article?12345" target="_blank" >Read more...</a>or with the same function but with JavaScript:
<a href="#" onClick="window.open('http://news.company.com/article?12345');">Read more...</a>To record this link using our Click Stream recorder, you need to add a second JS function:
try{recordExternalContent('Your company has a new CEO',' http://news.company.com/article?12345 ','12345','News')}catch(e){}Your link could look as per below:
<a href="#" onClick="window.open('http://news.company.com/article?12345'); try{recordExternalContent('Your company has a new CEO',' http://news.company.com/article?12345 ', '12345','News')}catch(e){}" title="Click To View Full Article">Read more...</a>The JavaScript-code of the function “recordExternalContent” is lcoated in the Click Stream recorder iView. If the recorder is not in the same frame as the function call, it may not be visible. In this case the Java-Script code can be used locally:
function recordExternalContent(title, url, parameter, category) { try { var baseUrl = '/irj/servlet/prt/portal/prtroot/com.sweetlets.pct.clickstream.ClickStreamRecorder'; var params = 'action=recordExternalContent&title=' + encodeURIComponent(title) + '&url=' + encodeURIComponent(url) + '¶meter=' + encodeURIComponent(parameter) + '&category=' + category; var request; if (window.XMLHttpRequest) { request = new XMLHttpRequest(); } else if (window.ActiveXObject) { request = new ActiveXObject('Microsoft.XMLHTTP'); } request.open('POST', baseUrl, true); request.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); request.setRequestHeader('Content-length', params.length); request.setRequestHeader('Connection', 'close'); request.send(params); } catch (e) { alert('Problems to store external content. '+e); } }
Title | |
URL | |
Category | |
Additional Parameter | |
Yes, Click Stream works with FPN.
If Click Stream is installed on the consumer portal, any page view on remote content can be monitored. There is just a small limitation: Page details from the Portal Content Director (PCD) like creator, changed by from remote pages cannot be viewed in reports as this data lies in the remote PCD. However, all important reports have the most relevant data to analyze. Please contact support@sweetlets.com for any additional help.**NOTE: Skip step A if you only used the Sweetlets Showcase!