LeadsMail:Activity.AverageTimeOnPage
Version: - dateSummary
Returns average time on page of the lead activity.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDate("LeadsMail:Activity.AverageTimeOnPage")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("LeadsMail:Activity.AverageTimeOnPage"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("LeadsMail:Activity.AverageTimeOnPage");
}
Outputting the template tag
<!--@LeadsMail:Activity.AverageTimeOnPage-->
Check if date has a value
<!--@If Defined(@LeadsMail:Activity.AverageTimeOnPage)-->
Let's output this tag here: <strong><!--@LeadsMail:Activity.AverageTimeOnPage--></strong>
<!--@EndIf(@LeadsMail:Activity.AverageTimeOnPage)-->