We have a plugin for Cordova/Phonegap. Please speak to your account manager to get access to it.
Due to the way Phonegap handles http requests, it's not possible to use the standard utag.js code, and the pre-built plugin is your best option.
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.
If you contact your account manager, they can start you on the process for getting gitHub access to the plugin. There is documentation with the plugin and the account manager can coordinate support if you need further assistance.