LeadsMail:Location.IPAddress
Version: - stringSummary
Returns IP address of the lead location.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("LeadsMail:Location.IPAddress")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("LeadsMail:Location.IPAddress"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("LeadsMail:Location.IPAddress");
}
Outputting the template tag
<!--@LeadsMail:Location.IPAddress-->
Check if string has a value
<!--@If Defined(@LeadsMail:Location.IPAddress)-->
Let's output this tag here: <strong><!--@LeadsMail:Location.IPAddress--></strong>
<!--@EndIf(@LeadsMail:Location.IPAddress)-->