Use Google Analytics In A NativeScript Angular Application

So you’ve spent time creating an awesome mobile application, but how do you know how it is performing in each of the available app stores? How can you gauge the user interactions with your application to better improve what you’ve built? The easiest way, and in my opinion the best way, would be to incorporate Google Analytics. With Google Analytics we can track application events, screen views, and other things without leaking any identifiable information about the user.

We’re going to see how to include Google Analytics in our Android and iOS mobile application built with NativeScript and Angular.

Read More

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.

Read 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:

MyApp.run(function($rootScope, $location, $window){
    $rootScope.$on('$routeChangeSuccess', function() {
        $window._gaq.push(['_trackPageview', $location.path()]);
    })
})

Read More

Search

Follow Us

Subscribe

Subscribe to my newsletter for monthly tips and tricks on subjects such as mobile, web, and game development.

Subscribe on YouTube

Support This Site