Skip to content

Cordova plugin for reading Search Ads Attribution API information in your Cordova/Ionic hybrid apps

Notifications You must be signed in to change notification settings

yashp1998/cordova-plugin-searchads

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova/Ionic Search Ads App Attribution API Plugin

TL;DR

Cordova plugin for reading Search Ads App Attribution on iOS 10.0+ only.

What is Search Ads App Attribution?

From Apple's documentation:

Search Ads App Attribution enables developers to track and attribute app downloads that originate from Search Ads campaigns. With Search Ads App Attribution, iOS developers have the ability to accurately measure the lifetime value of newly acquired users and the effectiveness of their advertising campaigns.

How to use the plugin

if (typeof window.SearchAds === 'undefined') {
  return;
}
window.SearchAds.initialize(function(attribution) {
    console.dir(attribution); // do something with this attribution (send to your server for further processing)
    $scope.data = JSON.stringify(attribution);
}, function (err) {
    console.dir(err);
});

About

Cordova plugin for reading Search Ads Attribution API information in your Cordova/Ionic hybrid apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 86.6%
  • JavaScript 10.4%
  • Java 3.0%