TealiumAdIdentifier

Contents

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

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic TealiumAdIdentifier插件的安装(Installation)

ionic cordova plugin add tealium-cordova-adidentifier npm install @ionic-native/tealium-adidentifier
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/tealium-adidentifier

Ionic TealiumAdIdentifier插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic TealiumAdIdentifier插件的用法(Usage)

import { TealiumAdIdentifier } from '@ionic-native/tealium-adidentifier/ngx';


constructor(private adIdentifier: TealiumAdIdentifier) { }

...


this.adIdentifier.setPersistent("main");
this.adIdentifier.setVolatile("main");