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