DCSIMG
My mistake when I used Google analytics - Shvilam B2B Mobile Apps

Shvilam B2B Mobile Apps

עמית כמו חבר שביל כמו דרך B2B Android mobile App shvilam@gmail.com

על הבלוג

Shvilam

Flashoo - Official Adobe Flash Platform Developer Community and User Group in Israel

קראתי לאחרונה

עוד מקומות בהם השארתי חותם

תעשיה אחרת

Games

Contact Me

Side work

My mistake when I used Google analytics

I am project manger of virtual worlds for kids this game call Mogobe 

and i did fatal mistake.

We add Google analytics  to the site by using a simple java script API in all the we pages of the site.

After it we wonted to get more spastic information and because this is a virtual Wolds for kids most of 1313600962_17093b1b36

the activity is happening inside the flash player.

We added the Google analytics  flash API that send more data to Google analytics  service

and that was my mistake I did not understand it in the begging because when we did it there where little traffic in our site

only after a while the figure didn't really match the one form our data base and the one from Google analytics. 

And in that moment we understand that when we used to different API of Google analytics each will create a new user and a new visit.

 

So in the if you have a site that have flash content do not try to use the flash API to track your users activit.

Make flash call the java script API that you all ready have in your site.

תוכן התגובה

Topics about Microsoft » My mistake when I used Google analytics כתב/ה:

Pingback from  Topics about Microsoft  » My mistake when I used Google analytics

# May 4, 2009 12:18 AM

ekampf כתב/ה:

The reason is that users are tracked using cookies.

Flash can't access browser cookies so it probably (didnt check the code) you flash "cookies" (they're called shared objects I believe).

Since there's no way to correlate you get the results you were talking about...

However, are you sure there's no way to tell the Flash API who's the current user? In a case you own both the flash component and the sites embedding it you can control the security settings to have access to cookies etc...

So you can read the user cookie in your flash code and there must be a way to feed it to the Google Flash API...

# May 4, 2009 10:41 AM

shvilam כתב/ה:

Thanks I understand compliantly why this is happen

and yes you are right it a cookie thing.

but i wold not recommend do thous changes  

I think it is eraser and faster and more changes proof

to do as we did and make flash call the java script API

# May 4, 2009 11:02 AM

Twitted by Shvilam כתב/ה:

Pingback from  Twitted by Shvilam

# May 7, 2009 7:45 AM
שלח תגובה

(שדה חובה)  

(שדה חובה)  

(אופציונלי)

(שדה חובה) 

Please add 5 and 4 and type the answer here:


Enter the numbers above: