Skip to content

jnuine/cordova-plugin-google-ad-conversion-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Ad Conversion Tracker Plugin

Cordova Plugin for Google App Install and Conversion Event Tracking

Installation:

Install with cordova cli:

$ cordova plugin add https://github.com/jnuine/cordova-plugin-google-ad-conversion-tracker.git

Google SDK libraries are included in the plugin.

Usage

The plugin creates the object window.GACTracker.

There's two JS function, trackConversion and trackRemarketingConversion:

window.GACTracker.trackConversion(conversionId, label, value, repeatable);

Values for conversionId, label, value, and repeatable are generated by Google when you create a mobile app conversion in your AdWords account.

window.GACTracker.trackRemarketingConversion(conversionId, params);

params is an object (e.g. { action_type: 'MY_ACTION', other_conversion_param: 'MY_PARAM' }).

More Info

see https://developers.google.com/app-conversion-tracking

Credits

Updated and slightly adapted from https://github.com/MyHealthTeams/google-app-conversion-tracker

License

Apache 2.0 License

Copyright (c) 2015 Jnuine

About

Cordova Plugin for Google App Install and Conversion Event Tracking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published