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

integer  

Summary

Returns an ID for the specific visitor profile.

Settings

The value is based on the Name field in Online Marketing Center > Profiles > Profile > General.

Remarks

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

Examples

Outputting the template tag

@GetInteger("Global:OMC.Visitor.Profile.[Reference].ID")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("Global:OMC.Visitor.Profile.[Reference].ID"); }

Outputting the template tag

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

Check if integer has a value

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