setVar() Function: Add control over storage duration

Avatar

Avatar

A_Wathen

MVP

Avatar

A_Wathen

MVP

A_Wathen
MVP

30-11-2020

Description -

One of the limitations of using the setVar() function to create a data element rather than the Launch interface is that you have no control over the storage duration.

Please can you consider adding control over storage duration?


Why is this feature important to you -

Improved flexibility

How would you like the feature to work -
An additional optional parameter that allows you to choose the same storage duration as the Launch interface i.e. none, page view, session, visitor

 

For example:

_satellite.setVar('product', 'Circuit Pro', 'session');

 

Current Behaviour -

No control over storage duration of data elements set using the setVar() function

setVar setVar() storage duration