Unable to override variable with invalid value

Description description

Environment

  • Adobe Analytics

  • AppMeasurement for JavaScript

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 that the following Analytics values will be sent. The value for eVar1 is not overridden as the empty value

eVar1: Old value

eVar2: New value

Resolution resolution

Valid value needs to be specified to override Analytics values.

Documentation link for variable overrides:

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

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f