Sitata / titanium-google-analytics

Google analytics for Appcelerator Titanium
MIT License
92 stars 47 forks source link

TrackScreen function doest work. #58

Open swijaya opened 8 years ago

swijaya commented 8 years ago

i try to work on trackScreen and trackEvent on my alloy project. So far, the trackEvent function work well and i able get the Event record in my GA report but the trackScreen did not work. I did not get any error message when i call the function in my controller and i did not get any Screen record in my GA report. Anyone having the same issue?

sobytes commented 8 years ago

I am also getting a error with this has anyone found a solution?

soumyakantikar commented 8 years ago

It is working for me. Can you try with the sample application and confirm. Please ensure that you are using the proper structure to send the data.

On Sunday, July 31, 2016, SoBytes notifications@github.com wrote:

I am also getting a error with this has anyone found a solution?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sitata/titanium-google-analytics/issues/58#issuecomment-236439302, or mute the thread https://github.com/notifications/unsubscribe-auth/AKCagJKn3qfqpbKL8UomA0RfUcZmHAo0ks5qbMsTgaJpZM4JNQEP .

sobytes commented 8 years ago

Hi @soumyakantikar thanks for the reply let me take another look.

sobytes commented 8 years ago

So just to confirm i am using alloy.js like this.

var GA = require('analytics.google');

Alloy.Globals.tracker = GA.getTracker("UA-0000000-1");

then in my controller like this.

Alloy.Globals.tracker.trackScreen({
    screenName : "Module Screen "
});
PassHours commented 7 years ago

What version of SDK you are using. The google analytics is not supported anymore in Appcelerator.

ElRochito commented 7 years ago

Hi! I use Titanium 3.5.1.GA SDK and Alloy 1.5.1 but nothing are sended to GA.