If the extension in question is simply one which takes a meta tag such as:
<meta name="WT.sp" content="Dotcom;PersonalHome"/>
And passes the value of the content attribute into the parameter specified in the name attribute, then this can be handled by the base tag natively, but Tealium is already doing a lot of the heavy lifting anyway, so you wouldn't necessarily need anything complex..
You could do it with a tag-scoped extension, running within the Webtrends tag, with the following code:
for(var k in b){
if(k.indexOf("meta.WT.") == 0 || k.indexOf("meta.DCS.") == 0 || k.indexOf("meta.DCSext.") == 0){ u.map[k] = k.substr(5); }
}
What this does is iterates over all the UDO variables in the event payload (which includes the "meta.*" variables that Tealium automatically picks up from meta tags), identifies any with the WT, DCS or DCSext prefixes that denote a Webtrends meta tag, and then adds an entry into the tag variable mapping that pushes those into the specified variable name.
So in the example above, it would create a mapping from the UDO variable "meta.WT.sp" to the target variable within the tag "WT.sp", which I believe replicates the built-in WT base tag behaviour with the minimum of fuss.
... View more