u object

Gold Contributor
Gold Contributor
Hi, I would like to know what is the "u" object and when we can use it. I know about the "b" object but not about the "u". Thanks
3 REPLIES 3
Employee Emeritus
Jarno, The "u" object is the object used in tag templates to store tag specific config values. You really shouldn't need to access the object. Through mappings, you should be able to overwrite any of the configs that are stored in the "u" object. If you are not able to overwrite a config value via mapping, I would make sure to reach out to your Account Manager with the name of the tag and the config you're having trouble with so we can make sure to get our template updated. If you must access this, you can do so via extension scoped directly to the tag you are trying to alter. The scope of the extension is critical because it has to be assigned to the specific tag.
Moderator
Moderator
Hi Jarno, The u object is private and should not be accessed. It's used as a shorthand inside the send function of each tag to refer to that tag's configuration data, such as mappings. The b object is the only one you should ever need to access. Cheers, Craig.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

u object

Gold Contributor
Gold Contributor
ok, clear. Thanks
Public