Change extension scope from tag to pre-loader

Gold Contributor
Gold Contributor
Is it possible to change the scope of extensions back to pre-loader, DOM ready, etc after they have been scoped to all tags or a specific tag? This does not seem readily available in the UI.
2 REPLIES 2

Change extension scope from tag to pre-loader

Moderator
Moderator
Hi Kevin, It depends which type of extension you are referring to. JavaScript extensions can have their scope changed to preloader, but most other extensions can only be used in All Tags scope, or scoped to individual tags. As far as JS extensions go, preloader extensions are run in global (window-level) scope, so you need to make sure that you code accordingly, and that you are not using any references to the "b" object (it doesn't exist at this point). Perhaps you can share more details about what you're trying to achieve so we can guide you towards the best solution? Thanks, 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.

Change extension scope from tag to pre-loader

Gold Contributor
Gold Contributor
Hi Craig, We were looking to scope a "join data values", extension, but it seems that this might be best addressed upstream. Cheers, Kevin
Public