Click or drag to resize
StrandsScriptGeneratorGetUserLoggedTrackingScript Method
Returns script which logs "userlogged" event to the Strands Recommender. This script indicates which user is browsing the web. This event needs to be logged at every page user visits (see http://recommender.strands.com/developers/javascript/#ulogin"/). Strands can later associate this user ID with the ID of the newsletter recipient and show appropriate recommendations.

Namespace: CMS.StrandsRecommender.Web.UI
Assembly: CMS.StrandsRecommender.Web.UI (in CMS.StrandsRecommender.Web.UI.dll) Version: 12.0.0
Syntax
C#
public virtual string GetUserLoggedTrackingScript(
	string userID
)

Parameters

userID
Type: SystemString
ID of the user (needs to be the same as ID which is placed at the newsletter email with recommendation)

Return Value

Type: String
Generated JavaScript
See Also