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.StrandsRecommenderAssembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.2.23
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