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