Use Google Analytics In An Ionic 2 Android And iOS App

If you’re making a great app chances are you’re going to want to know who else thinks its great.  This an be determined by how many people are using your application, what they are doing within the application, or how long they are using your application for.  This data can be tracked in iOS and Android using Google Analytics.  We are lucky enough to be able to use Google Analytics within an Ionic 2 mobile application.

If you’ve been keeping up with my blog you’ll know I wrote about using Google Analytics in an Ionic Framework 1 application.  This time we’re going to see how to use Google Analytics in an Ionic 2 application with Angular 2.

(more…)

Tracking Pageviews with Google Analytics and Angular JS

Recently I noticed in my Google analytics dashboard that Analytics wasn’t tracking the full url of the page of my Angular JS site. I was tracking individual pageviews using this code in my app.js file:

(more…)