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.
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 Name | Description | Example |
---|---|---|
maxconv-inner-data--ip | IP Address | 125.10.62.31 |
maxconv-inner-data--country | Country Code | US |
maxconv-inner-data--country_name | Country Name | Unite States |
maxconv-inner-data--region | Region, State or Province | California |
maxconv-inner-data--city | City name | Los Angeles |
maxconv-inner-data--isp | ISP name, aka. Internet Service Provider | AT&T Internet Services |
maxconv-inner-data--postal_code | Postal Code | 90001 |
maxconv-inner-data--os | Operating system | Window |
maxconv-inner-data--os_version | Operating system with version | Window 10 |
maxconv-inner-data--browser | Browser name | Chrome |
maxconv-inner-data--browser_version | Browser with version | Chrome 113.0 |
maxconv-inner-data--device_vendor | Vendor of device | Apple |
maxconv-inner-data--device_model | Model of device | iPhone |
maxconv-inner-data--device_type | Type of device | smartphone |
maxconv-inner-data--t1 | Token 1 Data | test token 1 data |
maxconv-inner-data--t... | Token ... Data | test token ... data |
maxconv-inner-data--t10 | Token 10 Data | test token 10 data |