TealiumAdIdentifier
This module depends on the Tealium Cordova Plugin. Without it, this module will not do anything. Makes the IDFA and Google Ad Identifier available in the Tealium data layer.
https://github.com/Tealium/cordova-plugin
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation
- Capacitor
- Cordova
- Enterprise
$ npm install tealium-cordova-adidentifier
$ npm install @awesome-cordova-plugins/tealium-adidentifier
$ ionic cap sync
$ ionic cordova plugin add tealium-cordova-adidentifier
$ npm install @awesome-cordova-plugins/tealium-adidentifier
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
Supported Platforms
- Android
- iOS
Usage
React
Learn more about using Ionic Native components in React
Angular
import { TealiumAdIdentifier } from '@awesome-cordova-plugins/tealium-adidentifier/ngx';
constructor(private adIdentifier: TealiumAdIdentifier) { }
...
this.adIdentifier.setPersistent("main");
this.adIdentifier.setVolatile("main");