Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

setVar() Function: Add control over storage duration

Avatar

Avatar
Validate 1
MVP
AndrewWathen
MVP

Likes

562 likes

Total Posts

304 posts

Correct Reply

15 solutions
Top badges earned
Validate 1
Contributor
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
MVP
AndrewWathen
MVP

Likes

562 likes

Total Posts

304 posts

Correct Reply

15 solutions
Top badges earned
Validate 1
Contributor
Give Back 5
Give Back 3
Give Back
View profile
AndrewWathen
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