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

Version: - string  

Summary

An unique reference number for a specific visitor profile.

Settings

The value is generated automatically.

Remarks

[Reference] is a unique reference number for the visitor profile (the same as the value from this tag).

Examples

Outputting the template tag

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

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Global:OMC.Visitor.Profile.[Reference].Reference"))) { @* 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].Reference"); }

Outputting the template tag

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

Check if string has a value

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