LeadsMail:Session.Duration

Version: - string  

Summary

Returns duration of the lead session.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("LeadsMail:Session.Duration")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("LeadsMail:Session.Duration"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("LeadsMail:Session.Duration"); }

Outputting the template tag

<!--@LeadsMail:Session.Duration-->

Check if string has a value

<!--@If Defined(@LeadsMail:Session.Duration)--> Let's output this tag here: <strong><!--@LeadsMail:Session.Duration--></strong> <!--@EndIf(@LeadsMail:Session.Duration)-->