LeadsMail:MailBody
Summary
This Loop contains all lead metadata can be mailed.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
LeadsMail:Activity.AverageTimeOnPage
Returns average time on page of the lead activity.
@GetDate("LeadsMail:Activity.AverageTimeOnPage")
LeadsMail:Activity.ExitPage
Returns exit page of the lead activity.
@GetString("LeadsMail:Activity.ExitPage")
LeadsMail:Activity.LandingPage
Returns landing page of the lead activity.
@GetString("LeadsMail:Activity.LandingPage")
LeadsMail:Activity.PageViews
Returns pege views of the lead activity.
@GetString("LeadsMail:Activity.PageViews")
LeadsMail:Activity.WebSite
Returns web site of the lead activity.
@GetString("LeadsMail:Activity.WebSite")
LeadsMail:Advertising.Campaign
Returns campaign of the lead advertising.
@GetString("LeadsMail:Advertising.Campaign")
LeadsMail:Advertising.Medium
Returns medium of the lead advertising.
@GetString("LeadsMail:Advertising.Medium")
LeadsMail:Advertising.Source
Returns source of the lead advertising.
@GetString("LeadsMail:Advertising.Source")
LeadsMail:Advertising.Term
Returns term of the lead advertising.
@GetString("LeadsMail:Advertising.Term")
LeadsMail:Browser.IsMobile
Returns True if the lead used mobile version of browser.
@GetBoolean("LeadsMail:Browser.IsMobile")
LeadsMail:Browser.Language
Returns browser language used by the lead.
@GetString("LeadsMail:Browser.Language")
LeadsMail:Browser.Name
Returns browser name used by the lead.
@GetString("LeadsMail:Browser.Name")
LeadsMail:EngagementIndex
Returns engagement index size of the lead.
@GetString("LeadsMail:EngagementIndex")
LeadsMail:Location.City
Returns city name of the lead location.
@GetString("LeadsMail:Location.City")
LeadsMail:Location.Company
Returns company name of the lead location.
@GetString("LeadsMail:Location.Company")
LeadsMail:Location.Coordinates
Returns coordinates of the lead geolocation.
@GetString("LeadsMail:Location.Coordinates")
LeadsMail:Location.Country
Returns country name of the lead location.
@GetString("LeadsMail:Location.Country")
LeadsMail:Location.Domain
Returns domain of the lead location.
@GetString("LeadsMail:Location.Domain")
LeadsMail:Location.IPAddress
Returns IP address of the lead location.
@GetString("LeadsMail:Location.IPAddress")
LeadsMail:Location.Region
Returns region name of the lead location.
@GetString("LeadsMail:Location.Region")
LeadsMail:Location.ZipCode
Returns ZIP code of the lead location.
@GetString("LeadsMail:Location.ZipCode")
LeadsMail:PageViews
Returns amount of page views the lead done on the site.
@GetInteger("LeadsMail:PageViews")
LeadsMail:Profile.PrimaryProfile
Returns primary profile in lead profile.
@GetString("LeadsMail:Profile.PrimaryProfile")
LeadsMail:Profile.SecondaryProfile
Returns secondary profile in lead profile.
@GetString("LeadsMail:Profile.SecondaryProfile")
LeadsMail:Referrer.Keywords
Returns keywords of referrer.
@GetString("LeadsMail:Referrer.Keywords")
LeadsMail:Referrer.PageNumber
Returns page number of referrer.
@GetInteger("LeadsMail:Referrer.PageNumber")
LeadsMail:Referrer.Position
Returns position of referrer.
@GetString("LeadsMail:Referrer.Position")
LeadsMail:Session.Duration
Returns duration of the lead session.
@GetString("LeadsMail:Session.Duration")
LeadsMail:Session.Period
Returns period size of the lead session.
@GetString("LeadsMail:Session.Period")
LeadsMail:Session.VisitorId
Returns visitor ID of the lead session.
@GetInteger("LeadsMail:Session.VisitorId")
LeadsMail:System.OperatingSystem
Returns operating system used by the lead.
@GetString("LeadsMail:System.OperatingSystem")
LeadsMail:System.ScreenSettings
Returns screen settings for the lead.
@GetString("LeadsMail:System.ScreenSettings")
Available loops
LeadsMail:Downloads
The Loop returns metadata related to downloads performed by the lead.
@foreach (LoopItem item in GetLoop("LeadsMail:Downloads")){ <p>@item.GetValue("TagName")</p> }
LeadsMail:PagesVisited
The Loop returns metadata related to page visited by the lead.
@foreach (LoopItem item in GetLoop("LeadsMail:PagesVisited")){ <p>@item.GetValue("TagName")</p> }
LeadsMail:Profile
The Loop returns metadata related to lead profile.
@foreach (LoopItem item in GetLoop("LeadsMail:Profile")){ <p>@item.GetValue("TagName")</p> }
LeadsMail:Visits
The Loop returns metadata related to lead visits.
@foreach (LoopItem item in GetLoop("LeadsMail:Visits")){ <p>@item.GetValue("TagName")</p> }