
Syntax for passing JavaScript variables as extra parameters
You can pass a JavaScript variable as an extra
parameter to any of the tags for IBM Digital Analytics, formerly known
as Coremetrics Analytics.
However, the syntax that you use for the
extraparms
values
differs according to your feature pack level. The syntax rules are:
Example
Consider the following JavaScript snippet:<script type="text/JavaScript">
var jsExtraParamValue = "abc_123";
</script>
This snippet defines a JavaScript variable
named jsExtraParamValue
that has a value of abc_123
.
If you want to pass the value to the IBM Digital Analytics tags,
use the syntax that applies to your feature pack level as demonstrated
in these examples: