Global:OMC.Visitor.SecondaryProfile.Reference

Version: - string  

Summary

Returns an unique reference number for the secondary visitor profile (with the second highest amount of points).

Settings

The value is generated automatically.

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.Reference")

Check if tag has a value

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

Outputting the template tag

<!--@Global:OMC.Visitor.SecondaryProfile.Reference-->

Check if string has a value

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