Avatar

Correct answer by
Employee

Dhana,

 

clearVars() is intended to be used to reset all "persistent state" variables, i.e. variables set with the setEvar/setProp/etc calls.  We would strongly recommend that you use the track methods that package the data with the call (trackAppState to attach context data, or track to attach context data and variables), as this is the safest and most-efficient way to send the data.

 

You can find the documentation on all methods here.

 

Regards,

Peter Fransen

Mobile Engineering Team Lead

View solution in original post