Global:OMC.Visitor.PrimaryProfile.Reference

string  

Summary

Returns an unique reference number for the primary visitor profile (with the 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.PrimaryProfile.Reference")

Check if tag has a value

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

Outputting the template tag

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

Check if string has a value

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