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.UIAssembly: CMS.StrandsRecommender.Web.UI (in CMS.StrandsRecommender.Web.UI.dll) Version: 11.0.0
Syntax 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:
StringGenerated JavaScript
See Also