setVar/data element/3rd party HTML issue
Recently there was a change to DTM that made it so values passed in 3rd party Non-Sequential HTML tags via the %data element name% method no longer work if the data element isn't explicitly defined in the data element rules. This means you can no longer simply use setVar in a rule somewhere to define a value and read it in this way.
This is having profound effects on how we typical handle marketing pixels. Traditionally, we use either page load rules or direct call rules to define the "configuration" variables for marketing pixels, then make a call to that pixel (usually via a direct call rule).
For example, let's say we have a single page application that has, for example, 50 different "pages" that can be seen by the user. A _satellite.track call is made for each of these "pages" that has an s.t() call to ensure analytics tracking. These 50 pages may also have a multitude of marketing pixels, some of which can have 1-8 configuration variables.
Previously, that main direct call rule that handles tracking would check each "page" to see if it has pixels and, if so, set the config variables with _satellite.setVar, then call the marketing tag. This no longer works as the 3rd party HTML will no longer read these values because they aren't defined in the "data element" area.
I've gotten around the issue temporarily by creating an actual data element for these config variables and reading in the value of the _satellite.data.customVars for that particular value, something like this:
Data element name = varname, type=custom script
if (_satellite.data.customVars.varname) {return _satellite.data.customVars.varname};
However, I've been told use of _satellite.data.customVars is not supported and should not be used.
So my question is, how are others handling this type of issue? _satellite.getVar cannot be used in a 3rd party HTML and we've had some issues in the past trying to use 3rd party javascript for some tags.