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

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

Public Methods

Method Description
DecorateMarkup ( string htmlToDecorate, ViewModel viewModel ) : string

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

Method Details

DecorateMarkup() public method

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.
return string