The customer contact details automatically filled

The visitor records are automatically saved after a conversation with a new visitor.

The visitor records contain different types of information about the visitor like his name or surname. If this information is already available on your website (logged-in area) then the visitor records can be filled in automatically thanks to custom data. 

1/ Available variables

To do so, you'll have to add Javascript custom data on your website. The variables will have to respect the following nomenclature: 

Name of the variable Type of variable Description
cust_name text Name of the customer
cust_firstname text First name
cust_address text Adress
cust_zipcode text ZIP code
cust_city text City
cust_country text Country
cust_phonenumber text Phone number
cust_email text Email address

IMPORTANT : It is mandatory to attribute a unique value to each visitor.

If you do not have access to this information for some visitors, the field cust_email must be empty.

This value should never be filled with default "static" information (e.g. "undefined" / "-" / ...).

Indeed if two visitors are given the same cust_email value, iAdvize will consider them as the same visitor and this situation will create a confidentiality issue :visitors will then have access to the content of the different conversations within the same thread (text and attachments).

This value must therefore either remain empty or contain a precise and unique value.


2/ Javascript code to be installed on your website

Here is the javascript code that you will have to install on your website to fill in all the variables automatically :

<script type="text/javascript">
window.idzCustomData = {
"cust_address":"Advertising agency",
"cust_city":"New York City",
"cust_country":"United States",


  • It won't be necessary to create the custom data within the iAdvize back office. Except if you wish to use them for the behavioral targeting, or if you don't want to display them to the agents (on the conversation panel).
  • The data taken here are examples. They will have to be replaced by your customer's data.

3/ Where this information is displayed in iAdvize? 

Once the JS code has been installed correctly, you'll then be able to find the information here :


Please note that the maximum number of characters allowed for storage in the visitor profile varies depending on the custom data.

Name of the variable Maximum number of characters allowed
cust_name 100
cust_firstname 100
cust_address 200
cust_zipcode 100
cust_city 100
cust_country 100
cust_phonenumber 20
cust_email 200
  • In the profile part that can be found on the right side of the chat window while an agent is chatting with a visitor.



Other articles which may interest you: