Migration from NID JS to Alloy Codeless SDK

To migrate from direct NID JS installation to Alloy Codeless SDK, follow steps below:

  • Remove NID JS snippet from of your web application

  • Remove commands

    • JS version <5.2.0
      nid(‘start’);
      nid('identify', identity_id);

    • JS version >= 5.2.0

    nid('start', function(result) {
        console.log(result.sessionId);
        console.log(result.status);
    });
    
  • Other nid commands can still be used for integration purpose
    nid('setVariable', 'funnel', value);
    nid('stateChange', page_id);
    nid('applicationSubmit');
    nid('closeSession');

  • Follow Alloy Codeless SDK integration guide.


What’s Next