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

Stuck on a Cordova issue?

Installation

Community Enterprise
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

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");