6 Comments

  • Joey
    Comment actions Permalink

    Hi Rinku-

    So I am understanding correctly, you are calling clearAll(), and subsequently trying to setName(), correct?
    It also sounds like the setName() function is not working as expected though, and the name is not set.
    May I ask you to please send a sample of your script block to take a look? My initial suspicion is there is a race condition at play, but will need to look at your code to be sure.

    1
  • Rinku Kumari
    Comment actions Permalink

    Thanks Joseph for quick reply 

     

    Here is my code

     

    $zopim.livechat.clearAll();
    $zopim.livechat.button.setOffsetVertical(50);
    window.$zopim.livechat.window.hide();
    $zopim.livechat.setLanguage('en');
    var fullName = 'collecting data from model';
    var schoolID ='SchoolID';
    var userID = 'UserID';

    var Email = 'StudentEmail';

    $zopim.livechat.setName(fullName);
    $zopim.livechat.departments.filter('test');

    $zopim.livechat.addTags('Type:Student','FullName:'+ fullName,);

     

    here department filter is also not working but addTag is working.

     

    For name it is sending as visitor+ dynamic number.

    0
  • Rinku Kumari
    Comment actions Permalink

    @Joseph May i have posted code any advice in this?

    0
  • Joey
    Comment actions Permalink

    Hi Rinku-

    I am taking a look today, and will get back to you if I see anything that stands out.

    0
  • Rinku Kumari
    Comment actions Permalink

    It is working now :)

    0
  • Joey
    Comment actions Permalink

    That's great, Rinku - did anything change?

    0

Please sign in to leave a comment.

Powered by Zendesk