LeadsMail:Browser.IsMobile
Version: - booleanSummary
Returns True if the lead used mobile version of browser.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetBoolean("LeadsMail:Browser.IsMobile")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("LeadsMail:Browser.IsMobile"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("LeadsMail:Browser.IsMobile");
}
Outputting the template tag
<!--@LeadsMail:Browser.IsMobile-->
Check if boolean has a value
<!--@If Defined(@LeadsMail:Browser.IsMobile)-->
Let's output this tag here: <strong><!--@LeadsMail:Browser.IsMobile--></strong>
<!--@EndIf(@LeadsMail:Browser.IsMobile)-->