C# Class Sdl.Web.Modules.SmartTarget.ExperimentMarkupDecorator

Decorates the HTML markup rendered by a SmartTargetExperiment View: rewrites hyperlinks to enable analytics tracking
Inheritance: IMarkupDecorator
Afficher le fichier Open project: sdl/dxa-modules

Méthodes publiques

Méthode Description
DecorateMarkup ( string htmlToDecorate, ViewModel viewModel ) : string

Decorates the HTML markup rendered by an Entity or Region View.

Method Details

DecorateMarkup() public méthode

Decorates the HTML markup rendered by an Entity or Region View.
public DecorateMarkup ( string htmlToDecorate, ViewModel viewModel ) : string
htmlToDecorate string The HTML to decorate.
viewModel Sdl.Web.Common.Models.ViewModel The associated with the HTML fragment.
Résultat string