Unable to override variable with invalid value

Description

Issue/Symptoms

Unable to override variable with an invalid value.  Here are example steps to reproduce this issue.



Step 1. Send s.t() call with value below.

eVar1: Old value

eVar2: Old value



Step 2. Send s.t() call with an override object.

var y = new Object();

y.eVar1 = “”;

y.eVar2 = “New value”;

s.t(y);



Notice: Following Analytics values will be sent.  The value for eVar1 is not overridden as the empty value.

eVar1: Old value

eVar2: New value




Environment

AppMeasurement for JavaScript

Resolution

Valid value needs to be specified to override Analytics values.

Variable overrides
https://experienceleague.adobe.com/docs/analytics/implementation/js/overrides.html?lang=en

On this page