hb condo
Posts: 0
Joined: Mon Jul 14, 2014 7:38 am

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

Illya, could you let us know how testing is going? I emailed Appery support directly about their testing efforts but did not receive a reply.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

Hello,

We are sorry for delay, but unfortunately we are still working on it.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

Hello,

We've reported a bug.
Please stay tuned. Its resolving may take time.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

Hi All -

Please replace this code in ga.js file:

precode
var getGAPlugin = function() {
if (window.plugins) {
console.log('GA Plugin found');
return window.plugins.gaPlugin;
}
console.log('GA Plugin NOT found');
};/code/pre

with this code:

precode
var getGAPlugin = function() {
if (GAPlugin) {
console.log('GA Plugin found');
return GAPlugin;
}
console.log('GA Plugin NOT found');
};/code/pre

We will correct it in our Docs.

hb condo
Posts: 0
Joined: Mon Jul 14, 2014 7:38 am

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

Has anyone else gotten this code to work? I get the error 'Uncaught ReferenceError: GAPlugin is not defined'

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

Please try to use my suggested code above. It works on iOS 8.3.

hb condo
Posts: 0
Joined: Mon Jul 14, 2014 7:38 am

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

Yes, I am using the code you posted above. What other code is there? Does it not work on lower versions of iOS (8.1, 8.2)?

Nicola Scarpelli
Posts: 0
Joined: Sun May 24, 2015 3:55 pm

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

I replaced that code in ga.js but is a suicide. When I click on a button to load one of my app pages, it load a page where it shown only the reload icon, without showing page content. (tested on appery tester, ios and android device). So this new code in my app causes loop

Nicola Scarpelli
Posts: 0
Joined: Sun May 24, 2015 3:55 pm

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

I replaced that code in ga.js but is a suicide. When I click on a button to load one of my app pages, it load a page where it shown only the reload icon, without showing page content. (tested on appery tester, ios and android device). So this new code in my app causes loop

Akshaya Investmentz
Posts: 0
Joined: Tue Jun 30, 2015 5:03 pm

Google Analytics Tracking in IOS not working, and how to enable demoprhaic and interest tracking

I was testing out the GA analytics code given in the tutorial. The same " GAPlugin is not defined' error is shown in the console.

I think we are missing a piece of code here.

Pls update the working version of the GA plugin code for both android and ios.

Return to “Issues”