Page 2 of 8

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

Posted: Fri Apr 10, 2015 7:17 am
by hb condo

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.


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

Posted: Fri Apr 10, 2015 7:23 am
by Evgene Karachevtsev

Hello,

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


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

Posted: Thu Apr 16, 2015 9:37 am
by Alena Prykhodko

Hello,

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


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

Posted: Tue May 19, 2015 2:29 pm
by Illya Stepanov

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.


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

Posted: Tue Jun 02, 2015 2:53 am
by hb condo

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


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

Posted: Tue Jun 02, 2015 5:25 am
by Illya Stepanov

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


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

Posted: Tue Jun 02, 2015 5:27 pm
by hb condo

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)?


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

Posted: Sun Jun 21, 2015 5:00 pm
by Nicola Scarpelli

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


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

Posted: Sun Jun 21, 2015 5:00 pm
by Nicola Scarpelli

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


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

Posted: Tue Jun 30, 2015 5:03 pm
by Akshaya Investmentz

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.