1. UserID

To explicitly pass the userId to Interaction Studio your engineer will need to add userId to the tracking code by adding the following line:

_aaq.push(['setUser', SET_TO_CURRENT_USER]);
Just write a function to replace "SET_TO_CURRENT_USER" with the userID of the logged in user.

2. Account

To pass the account name to Interaction Studio, your engineer will need to account the account the user is logged into by adding the following line to your tracking code:

_aaq.push(['setCompany', SET_TO_USERS_COMPANY]);
Just write a function to replace "SET_TO_USERS_COMPANY" with the account of the logged in user.  
Please note, it is very important if you take this approach to include it on every page you have the JavaScript, please don't just add it to the login page.  You need to pass the account Id with every action.

3. Account Type

The final piece of information is the lifecycle state of your customer, for example a free trial vs. paid customer.  

If you want to capture the lifecycle state of your customers, an engineer will need to add the following line to the tracking code:

_aaq.push(['setAccountType', SET_TO_SUBSCRIPTION_LEVEL]);


Just write a function to replace "SET_TO_SUBSCRIPTION_LEVEL" with the subscription level for the current logged in user.

Once you've finished adding any necessary code to the JavaScript on the JavaScript tab, you'll need a developer on your team to install the code. In order to pass data to Interaction Studio, you'll need to install a snippet of JavaScript tracking code.  Depending on what you are tracking, you may or may not need to modify the code. There is a set-up wizard that will walk you through several options and then provide the tracking code needed.