Skip to main content

Display Visitor's Feature Data

To create an attractive landing page, it is often required to display visitor's feature data like country, city, browser name, ip address...etc on the page. MaxConv can help you to do so without any javascript code required.

First, edit your landing page html code, add a css class name to the element you want to display the data in this format:

maxconv-inner-data--{FEATURE DATA FIELD}

The double dash(--) stands for equal, {FEATURE DATA FIELD} is the data field you want to display.

Let's say you want to display visitor's country name on the page, just add a element like below:

<!-- before -->
Welcome, you just got a discount on home improvement supplies.

<!-- after -->
Welcome, <span class="maxconv-inner-data--country_name"></span> people, you just got a discount on home improvement supplies.

When people from united states lands on your page, then will see:

Welcome, United States people, you just got a discount on home improvement supplies.

tip

If the element have existing classes, you need to separate new class with white space, for example:

before: <span class="mycssclass"></span>

after: <span class="mycssclass maxconv-inner-data--country_name"></span>

Set default value

You can set the default value by put value into the element if the feature data is unknown, for example

<!-- before -->
Welcome, you just got a discount on home improvement supplies.

<!-- after -->
Welcome, <span class="maxconv-inner-data--country_name">United Kingdom</span> people, you just got a discount on home improvement supplies.

Full list of feature data field

You can display the following feature data on landing page

Class NameDescriptionExample
maxconv-inner-data--ipIP Address125.10.62.31
maxconv-inner-data--countryCountry CodeUS
maxconv-inner-data--country_nameCountry NameUnite States
maxconv-inner-data--regionRegion, State or ProvinceCalifornia
maxconv-inner-data--cityCity nameLos Angeles
maxconv-inner-data--ispISP name, aka. Internet Service ProviderAT&T Internet Services
maxconv-inner-data--postal_codePostal Code90001
maxconv-inner-data--osOperating systemWindow
maxconv-inner-data--os_versionOperating system with versionWindow 10
maxconv-inner-data--browserBrowser nameChrome
maxconv-inner-data--browser_versionBrowser with versionChrome 113.0
maxconv-inner-data--device_vendorVendor of deviceApple
maxconv-inner-data--device_modelModel of deviceiPhone
maxconv-inner-data--device_typeType of devicesmartphone
maxconv-inner-data--t1Token 1 Datatest token 1 data
maxconv-inner-data--t...Token ... Datatest token ... data
maxconv-inner-data--t10Token 10 Datatest token 10 data