Account-Based Chat

Account-Based Chat with iAdvize

686 views March 15, 2017 April 25, 2018 developer 1

Leverage the power of Jabmo Website Personalization feature and turn your iAdvize chat into an Account-Based Chat tool.

Use valuable company visitor data to display chat for the right account, sent the most appropriate message and save visitor info automatically.

Add custom data to iAdvize

Add customized iAdvize tag

Get company visitor data from Jabmo Website personalization feature. Use them to customize your iAdvize tag. Insert this customized iAdvize tag in your website source code. This tag will add valuable company visitor details to iAdvize discussion panel.

Javascript code sample

<script type="text/javascript">
// Generate a unique ID
var nav = window.navigator;
var guid = nav.mimeTypes.length;
guid += nav.userAgent.replace(/\D+/g, '');
guid += nav.plugins.length;
guid += window.screen.height || '';
guid += window.screen.width || '';
guid += window.screen.pixelDepth || '';
var idzCustomData = {
  "extID": guid
// Website Company Visitor
document.addEventListener('azaCompanyVisitorLoaded', function (e) {
  if (typeof aza_company_visitor !== "undefined") {
    var webCompanyVisitor = JSON.parse(aza_company_visitor);
    var azaCustomVar = new Object();
    azaCustomVar.extID = guid;
    if (webCompanyVisitor != null) {
      var azaCustomVar = {
        "extID": guid,
        "azaCompanyName": webCompanyVisitor.companyName,
        "azaNationalId": webCompanyVisitor.nationalId,
        "azaNaceCode": webCompanyVisitor.naceCode,
        "azaCompanySize": webCompanyVisitor.size,
        "azaLegalForm": webCompanyVisitor.legalForm,
        "azaIndustry": webCompanyVisitor.industry,
        "azaEmployee": webCompanyVisitor.employee,
        "azaCountryCode": webCompanyVisitor.countryCode,
        "azaPostCode": webCompanyVisitor.postCode,
        "cust_address": webCompanyVisitor.companyName,
        "cust_zipcode": webCompanyVisitor.postCode
      idzCustomData = azaCustomVar;
}, false);

Add tag custom data to iAdvize

Insert all custom variables from your tag into iAdvize so you can use them in your rules.

Data description Variable description Source of the data Type of data
Aza Company Name azaCompanyName Javascript setting Text value
Aza National ID azaNationalID Javascript setting Text value
Aza Company Size azaCompanySize Javascript setting Text value
Aza Employee azaEmployee Javascript setting Text value
Aza Website azaWebsite Javascript setting Text value
Aza Industry azaIndustry Javascript setting Text value
Aza Nace Code azaNaceCode Javascript setting Text value
Aza Legal Form azaLegalForm Javascript setting Text value
Aza City azaCity Javascript setting Text value
Aza Post Code azaPostCode Javascript setting Text value
Aza Country Code azaCountryCode Javascript setting Text value
Aza Country azaCountry Javascript setting Text value


Create new rules

Use this new custom variables you just created to add personalized rules. You can target companies regarding their size, industry or even a specific company by its id.

Account Based Messaging benefits

Discussion panel with company visitor data

Company visitor data appear right on the discussion panel. It's a great help to engage the discusion with your website visitor.

Visitor summary automatically filled

Visitor company name, city, country and postal code are automatically saved in visitor summary.

Was this helpful?