@edbudev -
Question for you: Can't you just set the eVar's allocation to first/original, specify the desired expiration, and be done with it? Or, does that for some reason not work for what you're trying to accomplish?
Assuming expiration/allocation aren't feasible solutions here, I'd say it's definitely possible, but you'll have to build a custom solution that fits your requirements. Based on the little i know from your initial post, I'd probably go with a simple Boolean JS flag that gets set and evaluated in doPlugins(). Something like this...
var hasVarAlreadyBeenTracked = false;
// only populate the eVar the first time through
if (!hasVarAlreadyBeenTracked) {
s.eVar1 = _satellite.getVar("data-element-for-this-evar");
hasVarAlreadyBeenTracked = true;
} else {
s.eVar1 = "";
}
If you want this behavior to persist across multiple pages, you'll have to store the flag in a cookie or other browser storage.