The StrandsScriptRenderer type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
StrandsScriptRenderer(Page, String) |
Constructs class with default Scripts Generator.
| |
StrandsScriptRenderer(Page, String, StrandsScriptGenerator) |
Constructs class.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RenderCultureScript |
Includes information about current culture in the page. Strands is then able to show recommendations in given culture.
| |
RenderCurrencyScript |
Includes information about current currency in the page. Strands is then able to show recommendations with price in given currency.
| |
RenderCustomizedRendererScript |
Renders script from custom layout of recommendation template.
| |
RenderItemVisitedTrackingScript |
Renders script for the item visited event tracking.
| |
RenderLibraryScript |
Includes Strands library in the page and initializes it by calling SBS.Worker.go. This is needed to perform any other actions (event tracking or getting recommendations).
Strands library and initialization call are rendered at the end of the page, so every other script (tracking, settings, etc.) is before it.
| |
RenderPurchasedTrackingScript |
Renders purchased script with informations about all purchased items.
| |
RenderSearchedTrackingScript |
Renders script for the item searched event tracking.
| |
RenderUpdateShoppingCartTrackingScript |
Renders script for updateschoppingcart tracking event.
| |
RenderUserLoggedTrackingScript |
Renders event indicating 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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
See Also