NewsKit
NewsKit copied to clipboard
Mark `createTealiumHandler` as deprecated
Is your feature request related to a problem? Please describe.
Data team is now using window.tealiumTrack()
as a replacement of utag
. This means NewsKit users should use
createTealiumTrackHandler:
extendedWindow.tealiumTrack(e);
instead of
createTealiumHandler:
extendedWindow.utag.view(e)
extendedWindow.utag.link(e);
Currently NewsKit export both handlers and Render team is using the createTealiumHandler
, this results in help-hub and my account also using createTealiumHandler
Describe the solution you'd like
I suggest that we mark createTealiumHandler
as deprecated and update the docs to point user to use the createTealiumTrackHandler
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context

thanks, @Xin00163 makes sense to deprecate and remove the legacy method, we can look to remove it in the next major.