You do not need to invoke the u.addEvent function. To answer your question: Yes, if you map a variable to PRODUCTS_event43, then s.events will contain event43 as well as the products string. Just take a look at utag.js, line 6932 (or around that area depending): } else if (f[g].indexOf("PRODUCTS_event") == 0) {
if (b[e]instanceof Array) {
b.sc_prodevents = b.sc_prodevents || [];
for (var i = 0; i < b[e].length; i++) {
var prodevents = {};
if (typeof b.sc_prodevents[i] != "undefined" && b.sc_prodevents[i] != "") {
b.sc_prodevents[i][pv] = b[e][i];
} else {
prodevents[pv] = b[e][i];
b.sc_prodevents.push(prodevents);
}
}
u.addEvent(pv);
} else if (b[e] !== "") {
ev[pv] = b[e];
u.addEvent(pv);
}
} Notice how parses the name of the data mapping and also adds an event to the list. Later on in the file it assembles the products string from this information. The variable "pv" is the eventX. So "pv" would equal "event43" if (typeof b[e] != "undefined" && typeof u.map[e] == "string" && u.map[e].indexOf("PRODUCTS_") > -1) {
f = u.map[e].split(",");
for (g = 0; g < f.length; g++) {
var pv = f[g].substring(9);
... View more