AdMob / AdWords Conversion Tracking in an Ionic App


A client for whom we’ve developed a hybrid app using Ionic had asked us to close the loop on their AdWords and AdMob marketing campaigns and turn on the ability to track conversions within the app.

Like always, we began with search on Google for an open-source Cordova plugin. There wasn’t much out there on the interwebs but we did find one Phonegap plugin called GoogleAppTracking Plugin

To get it working with Ionic, you can follow the instructions that are provided in the plugin’s GitHub README file but here are few pointers that threw us off a bit:

While running “ionic build android” we got an error that required for the following:
Ensure that the root config.xml has the following added to the tag:

xmlns:gap="http://phonegap.com/ns/1.0"

We weren’t sure where to add the tags:
Ensure that the following tag is added as a child of the tag.

<gap:plugin name="cordova-plugin-googleplus" source="npm">
  <param name="REVERSED_CLIENT_ID" value="{from Google Developer Console}" />
</gap:plugin>

Was there a JS file in include in index.html?
No

Does the object GappTrack need to be injected?
No.

Can the object GappTrack be called in anywhere (
We don’t think so. The plugin is not available via ngCordova and also is only initiated onDeviceReady(). So here is what we put within our onDeviceReady() tag:

if (window.cordova) {
    GappTrack.track("{tracking ID}", "{tracking key}", "0.00", false);
} else {
    console.log("WARNING: No GappTrack plugin found");
}

Hopefully people who want to use this plugin but are struggling setting it up can find this post and use our learnings to get going.




Our Induction to Hiring Interns


Internships

After screening ~100 internship applications and interviewing ~30 teenage candidates over a period of 3 weeks, I admitted to Anuj that my initial process and expectations of hiring interns was a blunder. In addition to my admission, we both were having second thoughts on whether we would have the time and patience to sow a strong internship program and reap its benefits. It has been less than a year since we reinitiated Tacto, and although at the start of the month Tacto was 11 people strong, we had no middle management and hardly any excess capacity within the team.

Just before sending out the offers, we took a moment to contemplate on our motivations, selection process and expected outcomes. Here’s a rudimentary summation. The “Send” button was eventually pressed.

Continue reading


Looking for Sexy


Looking for Sexy

Sexy has gone missing again and we need it back for our next mobile & web app. Tracking down Sexy has becoming an overwhelming challenge and definitely not the burden for one. We recently got Samrudhii to help us with creating a blueprint to track Sexy’s whereabouts. We now need a kindred soul to identify Sexy’s exact coordinates so our rapid-action Tech team can chase it down.
Continue reading