Global:OMC.Visitor.SecondaryProfile.Name
Version: - stringSummary
Returns the name for the secondary visitor profile (with the second highest amount of points)
Settings
The value is based on the Name
input field for the profile: (Online Marketing Center > Profiles > Profile > General > Name)
Remarks
Check Global:OMC.Visitor.Profile.[Reference].Points about examples for point calculation and primary and secondary profiles.
Examples
Outputting the template tag
@GetString("Global:OMC.Visitor.SecondaryProfile.Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Global:OMC.Visitor.SecondaryProfile.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.SecondaryProfile.Name");
}
Outputting the template tag
<!--@Global:OMC.Visitor.SecondaryProfile.Name-->
Check if string has a value
<!--@If Defined(@Global:OMC.Visitor.SecondaryProfile.Name)-->
Let's output this tag here: <strong><!--@Global:OMC.Visitor.SecondaryProfile.Name--></strong>
<!--@EndIf(@Global:OMC.Visitor.SecondaryProfile.Name)-->