OMC:Notification.Visitor.TotalVisits
Version: - integerSummary
Returns amount of total visits the visitor.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("OMC:Notification.Visitor.TotalVisits")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("OMC:Notification.Visitor.TotalVisits"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("OMC:Notification.Visitor.TotalVisits");
}
Outputting the template tag
<!--@OMC:Notification.Visitor.TotalVisits-->
Check if integer has a value
<!--@If Defined(@OMC:Notification.Visitor.TotalVisits)-->
Let's output this tag here: <strong><!--@OMC:Notification.Visitor.TotalVisits--></strong>
<!--@EndIf(@OMC:Notification.Visitor.TotalVisits)-->