OMC:Experiment.Name

Version: - string  

Summary

Returns experiment name of OMC.

Settings

The value is based on Split test> Split test name control.

Examples

Outputting the template tag

@GetString("OMC:Experiment.Name")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("OMC:Experiment.Name"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("OMC:Experiment.Name"); }

Outputting the template tag

<!--@OMC:Experiment.Name-->

Check if string has a value

<!--@If Defined(@OMC:Experiment.Name)--> Let's output this tag here: <strong><!--@OMC:Experiment.Name--></strong> <!--@EndIf(@OMC:Experiment.Name)-->