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

Ionic TealiumAdIdentifier插件的安装(Installation)

ionic cordova plugin add tealium-cordova-adidentifier npm install @ionic-native/tealium-adidentifier

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

  • Android
  • iOS]
  • // Array of platforms supported
  • example: [Android
  • iOS

Ionic TealiumAdIdentifier插件的用法(Usage)

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


constructor(private adIdentifier: TealiumAdIdentifier) { }

...


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