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