Function Namespace setUserVar
taoApi
Defined in: api.js.
Constructor Attributes | Constructor Name and Description |
---|---|
setUserVar(key, the)
This function enables you to create and edit custom variables: the user's variables
The variable is identified by a key you have chosen.
|
Function Namespace Detail
setUserVar(key, the)
This function enables you to create and edit custom variables: the user's variables
The variable is identified by a key you have chosen.
This variable will be saved temporarly into the taoApi.
When you call the
push()
function, the user's variables are sent to the server.
It's a way to record some data other than the results and the events.
- Parameters:
- {String} key
- to identify of the variable
- {String|number|boolean} the
- value of the variable