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

string  

Summary

Returns the number of points that the user gets from the specific visitor profile.

Settings

The value is based on the points from the rules in the Recognition rules section.

(Online Marketing Center > Profiles > Profile > Recognition rules - Selected rules)

Remarks

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

Examples

Outputting the template tag

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

Check if tag has a value

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

Outputting the template tag

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

Check if string has a value

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