LeadsMail:Session.VisitorId

Version: - integer  

Summary

Returns visitor ID of the lead session.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("LeadsMail:Session.VisitorId")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("LeadsMail:Session.VisitorId"); }

Outputting the template tag

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

Check if integer has a value

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