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.

Installation

ionic cordova plugin add tealium-cordova-adidentifiernpm 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=YOURPRODUCTKEYnpm install @ionic-enterprise/tealium-adidentifier

Supported Platforms

  • Android
  • iOS

Usage

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


constructor(private adIdentifier: TealiumAdIdentifier) { }

...


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