LeadsMail:Visits.IPAddress

Version: - string  

Summary

Returns IP address of the lead in the visit.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("LeadsMail:Visits.IPAddress")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("LeadsMail:Visits.IPAddress"); }

Outputting the template tag

<!--@LeadsMail:Visits.IPAddress-->

Check if string has a value

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