Skip to content

MR-SC/adwords_conversion_tracking_titanium_module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Adwords Conversion Tracking Titanium Module

This Titanium module wraps the Google mobile Ads Conversion tracking for iOS SDK from:
https://developers.google.com/mobile-ads-sdk/docs/admob/conversion-tracking

It was created as per the Appcelerator Titanium iOS Module Development Guide:
https://wiki.appcelerator.org/display/guides/iOS+Module+Development+Guide

the origin repo you can see here: https://github.com/cornflakesuperstar/adwords_conversion_tracking_titanium_module

using Titanium sdk version 3.0.2

Installing this module

As per:
http://docs.appcelerator.com/titanium/latest/#!/guide/Using_Titanium_Modules,

download and unzip this module into your Titanium project:
https://raw.github.com/cornflakesuperstar/adwords_conversion_tracking_titanium_module/master/com.geoplus.adwordsconversiontracking-iphone-0.1.zip

and then reference it in your tiapp.xml:

<ti:app>
  <modules>
    <module version="0.1" platform="iphone">com.geoplus.adwordsconversiontracking</module>
  </modules>
</ti:app>

Using this module

var adwords_tracker = require('com.geoplus.adwordsconversiontracking');
if(!Ti.Android) {
  // A non-repeatable conversion event
  adwords_tracker.pingGoogle({
    conversionId: '< your id here >', 
    label:        '< your label here >',
    value:        '< your value here >',
    isRepeatable: false
  });

  // A repeatable conversion event
  adwords_tracker.pingGoogle({
    conversionId: '< your id here >', 
    label:        '< your label here >',
    value:        '< your value here >',
    isRepeatable: true
  });
}

About

adwords_conversion_tracking_titanium_module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published