Global:OMC.Visitor.Profile.[Reference].Name

Version: - string  

Summary

Returns the name of a specific visitor profile.

Settings

The value is based on the Name input field for the profile:(Online Marketing Center > Profiles > Profile > General > Name)

Remarks

[Reference] is a unique reference number for the visitor profile.

Examples

Outputting the template tag

@GetString("Global:OMC.Visitor.Profile.[Reference].Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Global:OMC.Visitor.Profile.[Reference].Name"); }

Outputting the template tag

<!--@Global:OMC.Visitor.Profile.[Reference].Name-->

Check if string has a value

<!--@If Defined(@Global:OMC.Visitor.Profile.[Reference].Name)--> Let's output this tag here: <strong><!--@Global:OMC.Visitor.Profile.[Reference].Name--></strong> <!--@EndIf(@Global:OMC.Visitor.Profile.[Reference].Name)-->