TealiumInstallReferrer

Contents

This module depends on the Tealium Cordova Plugin. Without it, this module will not do anything. Implements a Broadcast Receiver for the INSTALL_REFERRER intent.

https://github.com/Tealium/cordova-plugin

Ionic TealiumInstallReferrer插件的安装(Installation)

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

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

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

Ionic TealiumInstallReferrer插件的用法(Usage)

import { TealiumInstallReferrer } from '@ionic-native/tealium-installreferrer';


constructor(private installReferrer: TealiumInstallReferrer) { }


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